ILIAS
release_8 Revision v8.23
|
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.
string | $html |
Implemented in ilHtmlPurifierComposite, ilHtmlPurifierAbstractLibWrapper, ilTermsOfServiceTrimmedDocumentPurifier, ilAccessibilityTrimmedDocumentPurifier, and ilSamlIdpMetadataPurifier.
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, ilTermsOfServiceTrimmedDocumentPurifier, ilSamlIdpMetadataPurifier, and ilAccessibilityTrimmedDocumentPurifier.