ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Definition.php
Go to the documentation of this file.
1 <?php
2 
7 abstract class HTMLPurifier_Definition
8 {
9 
14  public $setup = false;
15 
26  public $optimized = null;
27 
32  public $type;
33 
39  abstract protected function doSetup($config);
40 
45  public function setup($config)
46  {
47  if ($this->setup) {
48  return;
49  }
50  $this->setup = true;
51  $this->doSetup($config);
52  }
53 }
54 
55 // vim: et sw=4 sts=4
$type
What type of definition is it? string.
Definition: Definition.php:32
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? bool.
Definition: Definition.php:14
$optimized
If true, write out the final definition object to the cache after setup.
Definition: Definition.php:26
setup($config)
Setup function that aborts if already setup.
Definition: Definition.php:45