4require_once 
'Services/Html/interfaces/interface.ilHtmlPurifierInterface.php';
 
   35        $key = array_search($a_purifier, $this->purifiers);
 
   37            $this->purifiers[] = $a_purifier;
 
   54        $key = array_search($a_purifier, $this->purifiers);
 
   58        unset($this->purifiers[
$key]);
 
   73        foreach ($this->purifiers as $oPurifier) {
 
   74            $a_html = $oPurifier->purify($a_html);
 
   90        foreach ($a_array_of_html as 
$key => 
$html) {
 
   91            foreach ($this->purifiers as $oPurifier) {
 
   98        return $a_array_of_html;
 
An exception for terminatinating execution or to throw for unit testing.
Composite for nesting multiple purifiers.
removePurifier(ilHtmlPurifierInterface $a_purifier)
Removes a node from composite.
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.
addPurifier(ilHtmlPurifierInterface $a_purifier)
Adds a node to composite.
purifyArray(array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
Interface for html sanitizing functionality.