API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier.func.php File Reference

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()''

Function Documentation

◆ HTMLPurifier()

HTMLPurifier (   $html,
  $config = null 
)

Purify HTML.

Parameters
string$htmlString HTML to purify
mixed$configConfiguration to use, can be any value accepted by HTMLPurifier_Config::create()
Returns
string
Here is the call graph for this function:
Here is the caller graph for this function: