2007-05-29 20:21:33 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Null cache object to use when no caching is on.
|
|
|
|
*/
|
|
|
|
class HTMLPurifier_DefinitionCache_Null extends HTMLPurifier_DefinitionCache
|
|
|
|
{
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Definition $def
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function add($def, $config)
|
|
|
|
{
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Definition $def
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function set($def, $config)
|
|
|
|
{
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Definition $def
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function replace($def, $config)
|
|
|
|
{
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function remove($config)
|
|
|
|
{
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function get($config)
|
|
|
|
{
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function flush($config)
|
|
|
|
{
|
2007-11-25 02:24:39 +00:00
|
|
|
return false;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2013-07-16 11:56:14 +00:00
|
|
|
/**
|
|
|
|
* @param HTMLPurifier_Config $config
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function cleanup($config)
|
|
|
|
{
|
2007-05-29 20:21:33 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-12-06 09:24:59 +00:00
|
|
|
// vim: et sw=4 sts=4
|