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 /** 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
title
Description
Body
title
Description
Body
title
Description
Body
title
Body