ILIAS
Release_4_1_x_branch Revision 61804
|
Composite for nesting multiple purifiers. More...
Public Member Functions | |
addPurifier (ilHtmlPurifierInterface $a_purifier) | |
Adds a node to composite. | |
removePurifier (ilHtmlPurifierInterface $a_purifier) | |
Removes a node from composite. | |
purify ($a_html) | |
Filters an HTML snippet/document to be XSS-free and standards-compliant. | |
purifyArray (Array $a_array_of_html) | |
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. |
Protected Attributes | |
$purifiers = array() |
Composite for nesting multiple purifiers.
Definition at line 13 of file class.ilHtmlPurifierComposite.php.
ilHtmlPurifierComposite::addPurifier | ( | ilHtmlPurifierInterface | $a_purifier | ) |
Adds a node to composite.
public
ilHtmlPurifierInterface | $a_purifier | Instance of ilHtmlPurifierInterface |
Definition at line 33 of file class.ilHtmlPurifierComposite.php.
ilHtmlPurifierComposite::purify | ( | $a_html | ) |
Filters an HTML snippet/document to be XSS-free and standards-compliant.
public
string | $a_html | HTML snippet/document |
Implements ilHtmlPurifierInterface.
Definition at line 73 of file class.ilHtmlPurifierComposite.php.
ilHtmlPurifierComposite::purifyArray | ( | Array | $a_array_of_html | ) |
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
public
array | $a_array_of_html | HTML snippet/document |
Implements ilHtmlPurifierInterface.
Definition at line 91 of file class.ilHtmlPurifierComposite.php.
ilHtmlPurifierComposite::removePurifier | ( | ilHtmlPurifierInterface | $a_purifier | ) |
Removes a node from composite.
public
ilHtmlPurifierInterface | $a_purifier | Instance of ilHtmlPurifierInterface |
Definition at line 53 of file class.ilHtmlPurifierComposite.php.
|
protected |
Definition at line 23 of file class.ilHtmlPurifierComposite.php.