ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilAccessibilityTrimmedDocumentPurifier
Definition at line 22 of file class.ilAccessibilityTrimmedDocumentPurifier.php.
ilAccessibilityTrimmedDocumentPurifier::__construct | ( | ilHtmlPurifierInterface | $inner | ) |
Definition at line 26 of file class.ilAccessibilityTrimmedDocumentPurifier.php.
References $inner.
ilAccessibilityTrimmedDocumentPurifier::purify | ( | string | $html | ) |
Filters an HTML snippet/document to be XSS-free and standards-compliant.
string | $html |
Implements ilHtmlPurifierInterface.
Definition at line 31 of file class.ilAccessibilityTrimmedDocumentPurifier.php.
Referenced by purifyArray().
ilAccessibilityTrimmedDocumentPurifier::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 36 of file class.ilAccessibilityTrimmedDocumentPurifier.php.
References ILIAS\LTI\ToolProvider\$key, and purify().
|
protected |
Definition at line 24 of file class.ilAccessibilityTrimmedDocumentPurifier.php.
Referenced by __construct().