Class HTMLPurifier_Bootstrap

InheritanceHTMLPurifier_Bootstrap

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

Public Methods

Hide inherited methods

MethodDescriptionDefined By
autoload() Autoload function for HTML Purifier HTMLPurifier_Bootstrap
getPath() Returns the path for a specific class. HTMLPurifier_Bootstrap
registerAutoload() "Pre-registers" our autoloader on the SPL stack. HTMLPurifier_Bootstrap

Method Details

autoload() public static method

Autoload function for HTML Purifier

public static bool autoload ( $class )
$class string

Class to load

getPath() public static method

Returns the path for a specific class.

public static string getPath ( $class )
$class string

Class path to get

registerAutoload() public static method

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

public static void registerAutoload ( )