]> git.mxchange.org Git - friendica.git/blob - library/HTMLPurifier/DefinitionCache/Null.php
refactor "which link to show" logic
[friendica.git] / library / HTMLPurifier / DefinitionCache / Null.php
1 <?php
2
3 /**
4  * Null cache object to use when no caching is on.
5  */
6 class HTMLPurifier_DefinitionCache_Null extends HTMLPurifier_DefinitionCache
7 {
8
9     public function add($def, $config) {
10         return false;
11     }
12
13     public function set($def, $config) {
14         return false;
15     }
16
17     public function replace($def, $config) {
18         return false;
19     }
20
21     public function remove($config) {
22         return false;
23     }
24
25     public function get($config) {
26         return false;
27     }
28
29     public function flush($config) {
30         return false;
31     }
32
33     public function cleanup($config) {
34         return false;
35     }
36
37 }
38
39 // vim: et sw=4 sts=4