ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (?array $allowed_tags=null, ?string $cache_directory=null, ?Closure $create_config=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... | |
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) | |
Private Attributes | |
readonly array | $allowed_tags |
readonly string | $cache_directory |
readonly Closure | $create_config |
Additional Inherited Members | |
![]() | |
static | _getCacheDirectory () |
![]() | |
HTMLPurifier | $purifier |
Definition at line 28 of file HTMLPurifier.php.
ILIAS\LegalDocuments\HTMLPurifier::__construct | ( | ?array | $allowed_tags = null , |
?string | $cache_directory = null , |
||
?Closure | $create_config = null |
||
) |
list<string> | $allowed_tags |
null|Closure() | HTMLPurifier_Config $create_config |
Definition at line 41 of file HTMLPurifier.php.
References ILIAS\LegalDocuments\HTMLPurifier\$allowed_tags, ILIAS\LegalDocuments\HTMLPurifier\$cache_directory, ILIAS\LegalDocuments\HTMLPurifier\$create_config, ILIAS\GlobalScreen\Provider\__construct(), ilHtmlPurifierAbstractLibWrapper\_getCacheDirectory(), and ilRTESettings\_getUsedHTMLTags().
|
protected |
Reimplemented from ilHtmlPurifierAbstractLibWrapper.
Definition at line 52 of file HTMLPurifier.php.
References ILIAS\LegalDocuments\HTMLPurifier\$create_config, ilHtmlPurifierAbstractLibWrapper\makeElementListTinyMceCompliant(), and ilHtmlPurifierAbstractLibWrapper\removeUnsupportedElements().
|
private |
Definition at line 31 of file HTMLPurifier.php.
Referenced by ILIAS\LegalDocuments\HTMLPurifier\__construct().
|
private |
Definition at line 32 of file HTMLPurifier.php.
Referenced by ILIAS\LegalDocuments\HTMLPurifier\__construct().
|
private |
Definition at line 35 of file HTMLPurifier.php.
Referenced by ILIAS\LegalDocuments\HTMLPurifier\__construct(), and ILIAS\LegalDocuments\HTMLPurifier\getPurifierConfigInstance().