HTMLPurifier 4.4.0
HTMLPurifier_DefinitionCache_Null Class Reference

Null cache object to use when no caching is on. More...

Inheritance diagram for HTMLPurifier_DefinitionCache_Null:
HTMLPurifier_DefinitionCache HTMLPurifier_DefinitionCache

List of all members.

Public Member Functions

 add ($def, $config)
 Adds a definition object to the cache.
 set ($def, $config)
 Unconditionally saves a definition object to the cache.
 replace ($def, $config)
 Replace an object in the cache.
 remove ($config)
 Removes a definition object to the cache.
 get ($config)
 Retrieves a definition object from the cache.
 flush ($config)
 Clears all objects from cache.
 cleanup ($config)
 Clears all expired (older version or revision) objects from cache.
 add ($def, $config)
 Adds a definition object to the cache.
 set ($def, $config)
 Unconditionally saves a definition object to the cache.
 replace ($def, $config)
 Replace an object in the cache.
 remove ($config)
 Removes a definition object to the cache.
 get ($config)
 Retrieves a definition object from the cache.
 flush ($config)
 Clears all objects from cache.
 cleanup ($config)
 Clears all expired (older version or revision) objects from cache.

Detailed Description

Null cache object to use when no caching is on.

Definition at line 6 of file Null.php.


Member Function Documentation

HTMLPurifier_DefinitionCache_Null::add ( def,
config 
)

Adds a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 9 of file Null.php.

HTMLPurifier_DefinitionCache_Null::add ( def,
config 
)

Adds a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12118 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::cleanup ( config)

Clears all expired (older version or revision) objects from cache.

Note:
Be carefuly implementing this method as flush. Flush must not interfere with other Definition types, and cleanup() should not be repeatedly called by userland code.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 33 of file Null.php.

HTMLPurifier_DefinitionCache_Null::cleanup ( config)

Clears all expired (older version or revision) objects from cache.

Note:
Be carefuly implementing this method as flush. Flush must not interfere with other Definition types, and cleanup() should not be repeatedly called by userland code.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12142 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::flush ( config)

Clears all objects from cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 29 of file Null.php.

HTMLPurifier_DefinitionCache_Null::flush ( config)

Clears all objects from cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12138 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::get ( config)

Retrieves a definition object from the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 25 of file Null.php.

HTMLPurifier_DefinitionCache_Null::get ( config)

Retrieves a definition object from the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12134 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::remove ( config)

Removes a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12130 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::remove ( config)

Removes a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 21 of file Null.php.

HTMLPurifier_DefinitionCache_Null::replace ( def,
config 
)

Replace an object in the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12126 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::replace ( def,
config 
)

Replace an object in the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 17 of file Null.php.

HTMLPurifier_DefinitionCache_Null::set ( def,
config 
)

Unconditionally saves a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 12122 of file HTMLPurifier.standalone.php.

HTMLPurifier_DefinitionCache_Null::set ( def,
config 
)

Unconditionally saves a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 13 of file Null.php.


The documentation for this class was generated from the following files: