3 require_once 'HTMLPurifier/DefinitionCache/Decorator.php';
6 * Definition cache decorator template.
8 class HTMLPurifier_DefinitionCache_Decorator_Template extends
9 HTMLPurifier_DefinitionCache_Decorator
12 var $name = 'Template'; // replace this
15 // replace class name with yours
16 return new HTMLPurifier_DefinitionCache_Decorator_Template();
19 // remove methods you don't need
21 function add($def, $config) {
22 return parent::add($def, $config);
25 function set($def, $config) {
26 return parent::set($def, $config);
29 function replace($def, $config) {
30 return parent::replace($def, $config);
33 function get($config) {
34 return parent::get($config);
38 return parent::flush();
41 function cleanup($config) {
42 return parent::cleanup($config);