]> git.wh0rd.org - tt-rss.git/blame - lib/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in
quickAddFeed: remove oauth notice, mention you can paste site URL
[tt-rss.git] / lib / htmlpurifier / library / HTMLPurifier / DefinitionCache / Decorator / Template.php.in
CommitLineData
010efc9b
AD
1<?php
2
3require_once 'HTMLPurifier/DefinitionCache/Decorator.php';
4
5/**
6 * Definition cache decorator template.
7 */
8class HTMLPurifier_DefinitionCache_Decorator_Template extends
9 HTMLPurifier_DefinitionCache_Decorator
10{
11
12 var $name = 'Template'; // replace this
13
14 function copy() {
15 // replace class name with yours
16 return new HTMLPurifier_DefinitionCache_Decorator_Template();
17 }
18
19 // remove methods you don't need
20
21 function add($def, $config) {
22 return parent::add($def, $config);
23 }
24
25 function set($def, $config) {
26 return parent::set($def, $config);
27 }
28
29 function replace($def, $config) {
30 return parent::replace($def, $config);
31 }
32
33 function get($config) {
34 return parent::get($config);
35 }
36
37 function flush() {
38 return parent::flush();
39 }
40
41 function cleanup($config) {
42 return parent::cleanup($config);
43 }
44
45}
46
47// vim: et sw=4 sts=4