ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Interface for html sanitizing functionality. More...
Public Member Functions | |
purify (string $html) | |
Filters an HTML snippet/document to be XSS-free and standards-compliant. More... | |
purifyArray (array $htmlCollection) | |
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. More... | |
Interface for html sanitizing functionality.
Definition at line 25 of file interface.ilHtmlPurifierInterface.php.
ilHtmlPurifierInterface::purify | ( | string | $html | ) |
Filters an HTML snippet/document to be XSS-free and standards-compliant.
Implemented in ilHtmlPurifierComposite, ilHtmlPurifierAbstractLibWrapper, and ilAccessibilityTrimmedDocumentPurifier.
ilHtmlPurifierInterface::purifyArray | ( | array | $htmlCollection | ) |
Filters an array of HTML snippets/documents to be XSS-free and standards-compliant.
string[] | $htmlCollection |
InvalidArgumentException | If one of the arrays element is not of tpye string |
Implemented in ilHtmlPurifierComposite, ilHtmlPurifierAbstractLibWrapper, and ilAccessibilityTrimmedDocumentPurifier.