aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php')
-rw-r--r--inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php76
1 files changed, 76 insertions, 0 deletions
diff --git a/inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php b/inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php
new file mode 100644
index 00000000..55eff9e0
--- /dev/null
+++ b/inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Null.php
@@ -0,0 +1,76 @@
1<?php
2
3/**
4 * Null cache object to use when no caching is on.
5 */
6class HTMLPurifier_DefinitionCache_Null extends HTMLPurifier_DefinitionCache
7{
8
9 /**
10 * @param HTMLPurifier_Definition $def
11 * @param HTMLPurifier_Config $config
12 * @return bool
13 */
14 public function add($def, $config)
15 {
16 return false;
17 }
18
19 /**
20 * @param HTMLPurifier_Definition $def
21 * @param HTMLPurifier_Config $config
22 * @return bool
23 */
24 public function set($def, $config)
25 {
26 return false;
27 }
28
29 /**
30 * @param HTMLPurifier_Definition $def
31 * @param HTMLPurifier_Config $config
32 * @return bool
33 */
34 public function replace($def, $config)
35 {
36 return false;
37 }
38
39 /**
40 * @param HTMLPurifier_Config $config
41 * @return bool
42 */
43 public function remove($config)
44 {
45 return false;
46 }
47
48 /**
49 * @param HTMLPurifier_Config $config
50 * @return bool
51 */
52 public function get($config)
53 {
54 return false;
55 }
56
57 /**
58 * @param HTMLPurifier_Config $config
59 * @return bool
60 */
61 public function flush($config)
62 {
63 return false;
64 }
65
66 /**
67 * @param HTMLPurifier_Config $config
68 * @return bool
69 */
70 public function cleanup($config)
71 {
72 return false;
73 }
74}
75
76// vim: et sw=4 sts=4