2007-05-29 20:21:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once 'HTMLPurifier/DefinitionCache.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Null cache object to use when no caching is on.
|
|
|
|
*/
|
|
|
|
class HTMLPurifier_DefinitionCache_Null extends HTMLPurifier_DefinitionCache
|
|
|
|
{
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function add($def, $config) {
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function set($def, $config) {
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function replace($def, $config) {
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function remove($config) {
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function get($config) {
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function flush($config) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function cleanup($config) {
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|