HTMLPurifier_Bootstrap
in package
Bootstrap class that contains meta-functionality for HTML Purifier such as the autoload function.
Tags
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
boolgetPath()
Returns the path for a specific class.
public
static getPath(string $class) : string
Parameters
- $class : string
-
Class path to get
Return values
stringregisterAutoload()
"Pre-registers" our autoloader on the SPL stack.
public
static registerAutoload() : mixed