ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
HTMLPurifier_Definition Class Reference

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

+ Inheritance diagram for HTMLPurifier_Definition:
+ Collaboration diagram for HTMLPurifier_Definition:

Public Member Functions

 setup ($config)
 Setup function that aborts if already setup.

Data Fields

 $setup = false
 Has setup() been called yet?
 $type
 What type of definition is it?

Protected Member Functions

 doSetup ($config)
 Sets up the definition object into the final form, something not done by the constructor.

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

HTMLPurifier_Definition::doSetup (   $config)
abstractprotected

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.

Referenced by setup().

+ Here is the caller graph for this function:

HTMLPurifier_Definition::setup (   $config)

Setup function that aborts if already setup.

Parameters
$configHTMLPurifier_Config instance

Definition at line 31 of file Definition.php.

References $config, and doSetup().

{
if ($this->setup) return;
$this->setup = true;
$this->doSetup($config);
}

+ Here is the call graph for this function:

Field Documentation

HTMLPurifier_Definition::$setup = false

Has setup() been called yet?

Definition at line 13 of file Definition.php.

HTMLPurifier_Definition::$type

What type of definition is it?

Definition at line 18 of file Definition.php.


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