HumHub Documentation (unofficial)

HTMLPurifier.func.php

Tags
file

Defines a function wrapper for HTML Purifier for quick use.

note

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

Table of Contents

Functions

HTMLPurifier()  : string
Purify HTML.

Functions

HTMLPurifier()

Purify HTML.

HTMLPurifier(string $html[, mixed $config = null ]) : string
Parameters
$html : string

String HTML to purify

$config : mixed = null

Configuration to use, can be any value accepted by HTMLPurifier_Config::create()

Return values
string

        
On this page

Search results