ILIAS
release_8 Revision v8.23
|
Class ilTermsOfServiceTrimmedDocumentPurifier. More...
Public Member Functions | |
__construct (ilHtmlPurifierInterface $inner) | |
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... | |
Protected Attributes | |
ilHtmlPurifierInterface | $inner |
Class ilTermsOfServiceTrimmedDocumentPurifier.
Definition at line 25 of file class.ilTermsOfServiceTrimmedDocumentPurifier.php.
ilTermsOfServiceTrimmedDocumentPurifier::__construct | ( | ilHtmlPurifierInterface | $inner | ) |
Definition at line 29 of file class.ilTermsOfServiceTrimmedDocumentPurifier.php.
References $inner.
ilTermsOfServiceTrimmedDocumentPurifier::purify | ( | string | $html | ) |
Filters an HTML snippet/document to be XSS-free and standards-compliant.
string | $html |
Implements ilHtmlPurifierInterface.
Definition at line 34 of file class.ilTermsOfServiceTrimmedDocumentPurifier.php.
Referenced by purifyArray().
ilTermsOfServiceTrimmedDocumentPurifier::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 |
Implements ilHtmlPurifierInterface.
Definition at line 39 of file class.ilTermsOfServiceTrimmedDocumentPurifier.php.
References ILIAS\LTI\ToolProvider\$key, and purify().
|
protected |
Definition at line 27 of file class.ilTermsOfServiceTrimmedDocumentPurifier.php.
Referenced by __construct().