HumHub Documentation (unofficial)

HTMLPurifier_Bootstrap
in package

Bootstrap class that contains meta-functionality for HTML Purifier such as the autoload function.

Tags
note

This class may be used without any other files from HTML Purifier.

Table of Contents

Methods

autoload()  : bool
Autoload function for HTML Purifier
getPath()  : string
Returns the path for a specific class.
registerAutoload()  : mixed
"Pre-registers" our autoloader on the SPL stack.

Methods

autoload()

Autoload function for HTML Purifier

public static autoload(string $class) : bool
Parameters
$class : string

Class to load

Return values
bool

getPath()

Returns the path for a specific class.

public static getPath(string $class) : string
Parameters
$class : string

Class path to get

Return values
string

registerAutoload()

"Pre-registers" our autoloader on the SPL stack.

public static registerAutoload() : mixed

        
On this page

Search results