4 require_once
'Services/Html/interfaces/interface.ilHtmlPurifierInterface.php';
35 $key = array_search($a_purifier, $this->purifiers);
38 $this->purifiers[] = $a_purifier;
55 $key = array_search($a_purifier, $this->purifiers);
60 unset($this->purifiers[$key]);
75 foreach($this->purifiers as $oPurifier)
77 $a_html = $oPurifier->purify($a_html);
93 foreach($a_array_of_html as $key =>
$html)
95 foreach($this->purifiers as $oPurifier)
100 $a_array_of_html[$key] =
$html;
103 return $a_array_of_html;
purifyArray(Array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
Composite for nesting multiple purifiers.
addPurifier(ilHtmlPurifierInterface $a_purifier)
Adds a node to composite.
removePurifier(ilHtmlPurifierInterface $a_purifier)
Removes a node from composite.
Interface for html sanitizing functionality.
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.
Create styles array
The data for the language used.