Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_Definition Class Reference
Inheritance diagram for HTMLPurifier_Definition:

Public Member Functions

 setup ($config)

Data Fields

 $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 7 of file Definition.php.


Member Function Documentation

doSetup ( config) [abstract, protected]

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

Parameters:
$configHTMLPurifier_Config instance

Reimplemented in HTMLPurifier_HTMLDefinition, HTMLPurifier_URIDefinition, and HTMLPurifier_CSSDefinition.

Here is the caller graph for this function:

setup ( config)

Setup function that aborts if already setup

Parameters:
$configHTMLPurifier_Config instance

Definition at line 42 of file Definition.php.

Here is the call graph for this function:


Field Documentation

$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.

Definition at line 24 of file Definition.php.

$setup = false

Has setup() been called yet?

Definition at line 13 of file Definition.php.

$type

What type of definition is it?

Reimplemented in HTMLPurifier_HTMLDefinition, HTMLPurifier_CSSDefinition, and HTMLPurifier_URIDefinition.

Definition at line 29 of file Definition.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations