|
ILIAS
Release_4_2_x_branch Revision 61807
|
Concrete class for sanitizing html of forum posts. More...
Inheritance diagram for ilHtmlForumPostPurifier:
Collaboration diagram for ilHtmlForumPostPurifier:Public Member Functions | |
| __construct () | |
| Constructor. | |
Public Member Functions inherited from ilHtmlPurifierAbstractLibWrapper | |
| purify ($a_html, $a_config=null) | |
| Filters an HTML snippet/document to be XSS-free and standards-compliant. | |
| purifyArray (Array $a_array_of_html, $a_config=null) | |
| Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. | |
Public Member Functions inherited from ilHtmlPurifierInterface | |
| purify ($a_html) | |
| Filters an HTML snippet/document to be XSS-free and standards-compliant. | |
| purifyArray (Array $a_array_of_html) | |
| Filters an array of HTML snippets/documents to be XSS-free and standards-compliant. | |
Static Public Attributes | |
| static | $_type = 'frm_post' |
Protected Member Functions | |
| getPurifierConfigInstance () | |
| Concrete function which builds a html purifier config instance. | |
Protected Member Functions inherited from ilHtmlPurifierAbstractLibWrapper | |
| setPurifier (HTMLPurifier $oPurifier) | |
| Set the purifier by subclass. | |
| getPurifier () | |
| Get the purifier. | |
| removeUnsupportedElements ($a_array) | |
| Removes all unsupported elements. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilHtmlPurifierAbstractLibWrapper | |
| static | _getCacheDirectory () |
| Get the directory for HTMLPurifier cache files. | |
Protected Attributes inherited from ilHtmlPurifierAbstractLibWrapper | |
| $oPurifier = null | |
Concrete class for sanitizing html of forum posts.
Definition at line 13 of file class.ilHtmlForumPostPurifier.php.
| ilHtmlForumPostPurifier::__construct | ( | ) |
Constructor.
public
Reimplemented from ilHtmlPurifierAbstractLibWrapper.
Definition at line 32 of file class.ilHtmlForumPostPurifier.php.
|
protected |
Concrete function which builds a html purifier config instance.
protected
Reimplemented from ilHtmlPurifierAbstractLibWrapper.
Definition at line 44 of file class.ilHtmlForumPostPurifier.php.
References $config, ilHtmlPurifierAbstractLibWrapper\_getCacheDirectory(), ilObjAdvancedEditing\_getUsedHTMLTags(), HTMLPurifier_Config\createDefault(), and ilHtmlPurifierAbstractLibWrapper\removeUnsupportedElements().
Here is the call graph for this function:
|
static |
Definition at line 24 of file class.ilHtmlForumPostPurifier.php.