XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier.func.php File Reference

Go to the source code of this file.

Functions

 HTMLPurifier ($html, $config=null)
 

Detailed Description

Defines a function wrapper for HTML Purifier for quick use.

Note
''HTMLPurifier()'' is NOT the same as ''new HTMLPurifier()''

Definition in file HTMLPurifier.func.php.

Function Documentation

HTMLPurifier (   $html,
  $config = null 
)

Purify HTML.

Parameters
$htmlString HTML to purify
$configConfiguration to use, can be any value accepted by HTMLPurifier_Config::create()

Definition at line 15 of file HTMLPurifier.func.php.

References $config, and $html.

Referenced by protector_postcommon_post_htmlpurify4everyone\execute(), protector_postcommon_post_htmlpurify4guest\execute(), HTMLPurifier\instance(), and kses().

Here is the caller graph for this function: