HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/Definition.php
Go to the documentation of this file.
00001 <?php
00002 
00007 abstract class HTMLPurifier_Definition
00008 {
00009 
00013     public $setup = false;
00014 
00024     public $optimized = null;
00025 
00029     public $type;
00030 
00036     abstract protected function doSetup($config);
00037 
00042     public function setup($config) {
00043         if ($this->setup) return;
00044         $this->setup = true;
00045         $this->doSetup($config);
00046     }
00047 
00048 }
00049 
00050 // vim: et sw=4 sts=4