[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/var/www/se3/includes/library/HTMLPurifier/ -> Generator.php (summary)

(no description)

File Size: 286 lines (11 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_Generator:: (6 methods):
  __construct()
  generateFromTokens()
  generateFromToken()
  generateScriptFromToken()
  generateAttributes()
  escape()


Class: HTMLPurifier_Generator  - X-Ref

Generates HTML from tokens.

__construct($config, $context)   X-Ref

param: HTMLPurifier_Config $config
param: HTMLPurifier_Context $context

generateFromTokens($tokens)   X-Ref
Generates HTML from an array of tokens.

param: HTMLPurifier_Token[] $tokens Array of HTMLPurifier_Token
return: string Generated HTML

generateFromToken($token)   X-Ref
Generates HTML from a single token.

param: HTMLPurifier_Token $token HTMLPurifier_Token object.
return: string Generated HTML

generateScriptFromToken($token)   X-Ref
Special case processor for the contents of script tags

param: HTMLPurifier_Token $token HTMLPurifier_Token object.
return: string

generateAttributes($assoc_array_of_attributes, $element = '')   X-Ref
Generates attribute declarations from attribute array.

param: array $assoc_array_of_attributes Attribute array
param: string $element Name of element attributes are for, used to check
return: string Generated HTML fragment for insertion.

escape($string, $quote = null)   X-Ref
Escapes raw text data.

param: string $string String data to escape for HTML.
param: int $quote Quoting style, like htmlspecialchars. ENT_NOQUOTES is
return: string escaped data.



Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1