ILIAS
Release_4_0_x_branch Revision 61816
|
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.
References $key.
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.
References $key.
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.
References $key.
|
protected |
Definition at line 23 of file class.ilHtmlPurifierComposite.php.