ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
ilHtmlPurifierInterface Interface Reference

Interface for html sanitizing functionality. More...

+ Inheritance diagram for ilHtmlPurifierInterface:
+ Collaboration diagram for ilHtmlPurifierInterface:

Public Member Functions

 purify ($a_html)
 Filters an HTML snippet/document to be XSS-free and standards-compliant. More...
 
 purifyArray (Array $a_array_of_html)
 Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. More...
 

Detailed Description

Interface for html sanitizing functionality.

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 11 of file interface.ilHtmlPurifierInterface.php.

Member Function Documentation

◆ purify()

ilHtmlPurifierInterface::purify (   $a_html)

Filters an HTML snippet/document to be XSS-free and standards-compliant.

public

Parameters
string$a_htmlHTML snippet/document

Implemented in ilHtmlPurifierComposite.

◆ purifyArray()

ilHtmlPurifierInterface::purifyArray ( Array  $a_array_of_html)

Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.

public

Parameters
array$a_array_of_htmlHTML snippet/document

Implemented in ilHtmlPurifierComposite.


The documentation for this interface was generated from the following file: