|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Interface for html sanitizing functionality. More...
Inheritance diagram for ilHtmlPurifierInterface:
Collaboration diagram for ilHtmlPurifierInterface: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 ilAccessibilityTrimmedDocumentPurifier, ilHtmlPurifierAbstractLibWrapper, and ilHtmlPurifierComposite.
| 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 ilAccessibilityTrimmedDocumentPurifier, ilHtmlPurifierAbstractLibWrapper, and ilHtmlPurifierComposite.