ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
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 (?array $allowedTags=null, ?string $cacheDirectory=null) | |
![]() | |
__construct () | |
ilHtmlPurifierAbstractLibWrapper constructor. More... | |
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 Member Functions | |
getPurifierConfigInstance () | |
![]() | |
getPurifierConfigInstance () | |
setPurifier (HTMLPurifier $purifier) | |
getPurifier () | |
removeUnsupportedElements (array $elements) | |
Removes all unsupported elements. More... | |
makeElementListTinyMceCompliant (array $elements) | |
Protected Attributes | |
string | $cacheDirectory = '' |
![]() | |
HTMLPurifier | $purifier |
Private Attributes | |
array | $allowedTags = [] |
Additional Inherited Members | |
![]() | |
static | _getCacheDirectory () |
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 ilAccessibilityDocumentHtmlPurifier
Definition at line 22 of file class.ilAccessibilityDocumentHtmlPurifier.php.
ilAccessibilityDocumentHtmlPurifier::__construct | ( | ?array | $allowedTags = null , |
?string | $cacheDirectory = null |
||
) |
Definition at line 27 of file class.ilAccessibilityDocumentHtmlPurifier.php.
References $allowedTags, $cacheDirectory, ILIAS\GlobalScreen\Provider\__construct(), ilHtmlPurifierAbstractLibWrapper\_getCacheDirectory(), ilObjAdvancedEditing\_getUsedHTMLTags(), and null.
|
protected |
Definition at line 43 of file class.ilAccessibilityDocumentHtmlPurifier.php.
References $allowedTags, ilHtmlPurifierAbstractLibWrapper\makeElementListTinyMceCompliant(), and ilHtmlPurifierAbstractLibWrapper\removeUnsupportedElements().
|
private |
Definition at line 24 of file class.ilAccessibilityDocumentHtmlPurifier.php.
Referenced by __construct(), and getPurifierConfigInstance().
|
protected |
Definition at line 25 of file class.ilAccessibilityDocumentHtmlPurifier.php.
Referenced by __construct().