ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
HTMLPurifier_DefinitionCache_Null Class Reference

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

+ Inheritance diagram for HTMLPurifier_DefinitionCache_Null:
+ Collaboration diagram for HTMLPurifier_DefinitionCache_Null:

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.
- Public Member Functions inherited from HTMLPurifier_DefinitionCache
 __construct ($type)
 generateKey ($config)
 Generates a unique identifier for a particular configuration.
 isOld ($key, $config)
 Tests whether or not a key is old with respect to the configuration's version and revision number.
 checkDefType ($def)
 Checks if a definition's type jives with the cache's type.

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_DefinitionCache
 $type

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.

{
return false;
}
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.

{
return false;
}
HTMLPurifier_DefinitionCache_Null::flush (   $config)

Clears all objects from cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 29 of file Null.php.

{
return false;
}
HTMLPurifier_DefinitionCache_Null::get (   $config)

Retrieves a definition object from the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 25 of file Null.php.

{
return false;
}
HTMLPurifier_DefinitionCache_Null::remove (   $config)

Removes a definition object to the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 21 of file Null.php.

{
return false;
}
HTMLPurifier_DefinitionCache_Null::replace (   $def,
  $config 
)

Replace an object in the cache.

Reimplemented from HTMLPurifier_DefinitionCache.

Definition at line 17 of file Null.php.

{
return false;
}
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.

{
return false;
}

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