[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 292 lines (10 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
HTMLPurifier:: (6 methods):
__construct()
addFilter()
purify()
purifyArray()
instance()
getInstance()
Class: HTMLPurifier - X-Ref
Facade that coordinates HTML Purifier's subsystems in order to purify HTML.__construct($config = null) X-Ref |
Initializes the purifier. param: HTMLPurifier_Config $config Optional HTMLPurifier_Config object |
addFilter($filter) X-Ref |
Adds a filter to process the output. First come first serve param: HTMLPurifier_Filter $filter HTMLPurifier_Filter object |
purify($html, $config = null) X-Ref |
Filters an HTML snippet/document to be XSS-free and standards-compliant. param: string $html String of HTML to purify param: HTMLPurifier_Config $config Config object for this operation, return: string Purified HTML |
purifyArray($array_of_html, $config = null) X-Ref |
Filters an array of HTML snippets param: string[] $array_of_html Array of html snippets param: HTMLPurifier_Config $config Optional config object for this operation. return: string[] Array of purified HTML |
instance($prototype = null) X-Ref |
Singleton for enforcing just one HTML Purifier in your system param: HTMLPurifier|HTMLPurifier_Config $prototype Optional prototype return: HTMLPurifier |
getInstance($prototype = null) X-Ref |
Singleton for enforcing just one HTML Purifier in your system param: HTMLPurifier|HTMLPurifier_Config $prototype Optional prototype return: HTMLPurifier |
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |