| Methods | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 
					
	public
					
					
				 | __construct()
		Initialize $generator.
	 Initialize $generator. Overriden by | # | ||||||||
| 
					
	public
					
					
				 | prepareGenerator(HTMLPurifier_Config $config)
		Give generator necessary configuration if possible
	 Give generator necessary configuration if possible | # | ||||||||
| 
					
	protected
					
					
				 | start(string $tag, array $attr = []): string
		Returns a start tag
	 Returns a start tag Parameters
 | # | ||||||||
| 
					
	protected
					
					
				 | end(string $tag): string
		Returns an end tag
	 Returns an end tag Parameters
 | # | ||||||||
| 
					
	protected
					
					
				 | element(string $tag, string $contents, array $attr = [], bool $escape = true): string
		Prints a complete element with content inside
	 Prints a complete element with content inside Parameters
 | # | ||||||||
| 
					
	protected
					
					
				 | elementEmpty(string $tag, array $attr = []): string | # | ||||||||
| 
					
	protected
					
					
				 | text(string $text): string | # | ||||||||
| 
					
	protected
					
					
				 | row(string $name, mixed $value): string
		Prints a simple key/value row in a table.
	 Prints a simple key/value row in a table. Parameters
 | # | ||||||||
| 
					
	protected
					
					
				 | escape(string $string): string
		Escapes a string for HTML output.
	 Escapes a string for HTML output. Parameters
 | # | ||||||||
| 
					
	protected
					
					
				 | listify(string[] $array, bool $polite = false): string
		Takes a list of strings and turns them into a single list
	 Takes a list of strings and turns them into a single list Parameters
 | # | ||||||||
| 
					
	protected
					
					
				 | getClass(object $obj, string $sec_prefix = ''): string
		Retrieves the class of an object without prefixes, as well as metadata
	 Retrieves the class of an object without prefixes, as well as metadata Parameters
 | # | ||||||||
| Properties | |||
|---|---|---|---|
| 
	protected
					
					
				 |  | $generator
		For HTML generation convenience funcs.
	 For HTML generation convenience funcs. | # | 
| 
	protected
					
					
				 |  | $config
		For easy access.
	 For easy access. | # |