ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
Definition.php
Go to the documentation of this file.
1 <?php
2 
7 abstract class HTMLPurifier_Definition
8 {
9 
13  public $setup = false;
14 
24  public $optimized = null;
25 
29  public $type;
30 
36  abstract protected function doSetup($config);
37 
42  public function setup($config) {
43  if ($this->setup) return;
44  $this->setup = true;
45  $this->doSetup($config);
46  }
47 
48 }
49 
50 // vim: et sw=4 sts=4
$type
What type of definition is it?
Definition: Definition.php:29
doSetup($config)
Sets up the definition object into the final form, something not done by the constructor.
Super-class for definition datatype objects, implements serialization functions for the class...
Definition: Definition.php:7
$setup
Has setup() been called yet?
Definition: Definition.php:13
$optimized
If true, write out the final definition object to the cache after setup.
Definition: Definition.php:24
setup($config)
Setup function that aborts if already setup.
Definition: Definition.php:42