XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables 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