Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_DefinitionCache_Null Class Reference
Inheritance diagram for HTMLPurifier_DefinitionCache_Null:
Collaboration diagram for HTMLPurifier_DefinitionCache_Null:

Public Member Functions

 add ($def, $config)
 set ($def, $config)
 replace ($def, $config)
 remove ($config)
 get ($config)
 flush ($config)
 cleanup ($config)

Detailed Description

Null cache object to use when no caching is on.

Definition at line 6 of file Null.php.


Member Function Documentation

add ( def,
config 
)

Adds a definition object to the cache

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 9 of file Null.php.

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.

flush ( config)

Clears all objects from cache

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 29 of file Null.php.

get ( config)

Retrieves a definition object from the cache

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 25 of file Null.php.

remove ( config)

Removes a definition object to the cache

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 21 of file Null.php.

replace ( def,
config 
)

Replace an object in the cache

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 17 of file Null.php.

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 file:
 All Data Structures Namespaces Files Functions Variables Enumerations