Cheetah
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
HTMLPurifier_Definition Class Reference
Inheritance diagram for HTMLPurifier_Definition:
HTMLPurifier_CSSDefinition HTMLPurifier_HTMLDefinition HTMLPurifier_URIDefinition

Public Member Functions

 setup ($config)
 

Public Attributes

 $setup = false
 
 $optimized = null
 
 $type
 

Protected Member Functions

 doSetup ($config)
 

Detailed Description

Super-class for definition datatype objects, implements serialization functions for the class.

Definition at line 1153 of file HTMLPurifier.standalone.php.

Member Function Documentation

◆ doSetup()

HTMLPurifier_Definition::doSetup (   $config)
abstractprotected

Sets up the definition object into the final form, something not done by the constructor

Parameters
HTMLPurifier_Config$config

Reimplemented in HTMLPurifier_URIDefinition, HTMLPurifier_HTMLDefinition, and HTMLPurifier_CSSDefinition.

◆ setup()

HTMLPurifier_Definition::setup (   $config)

Setup function that aborts if already setup

Parameters
HTMLPurifier_Config$config

Definition at line 1191 of file HTMLPurifier.standalone.php.

Member Data Documentation

◆ $optimized

HTMLPurifier_Definition::$optimized = null

If true, write out the final definition object to the cache after setup. This will be true only if all invocations to get a raw definition object are also optimized. This does not cause file system thrashing because on subsequent calls the cached object is used and any writes to the raw definition object are short circuited. See enduser-customize.html for the high-level picture. @type bool

Definition at line 1172 of file HTMLPurifier.standalone.php.

◆ $setup

HTMLPurifier_Definition::$setup = false

Has setup() been called yet? @type bool

Definition at line 1160 of file HTMLPurifier.standalone.php.

◆ $type

HTMLPurifier_Definition::$type

What type of definition is it? @type string

Definition at line 1178 of file HTMLPurifier.standalone.php.


The documentation for this class was generated from the following file: