4require_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;
 
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.
purifyArray(Array $a_array_of_html)
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
purify($a_html)
Filters an HTML snippet/document to be XSS-free and standards-compliant.
addPurifier(ilHtmlPurifierInterface $a_purifier)
Adds a node to composite.
Interface for html sanitizing functionality.