Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
HTMLPurifier_DefinitionCache_Null Class Reference
Inheritance diagram for HTMLPurifier_DefinitionCache_Null:
HTMLPurifier_DefinitionCache

Public Member Functions

 add ($def, $config)
 
 checkDefType ($def)
 Checks if a definition's type jives with the cache's type.
 
 cleanup ($config)
 
 flush ($config)
 
 generateKey ($config)
 Generates a unique identifier for a particular configuration.
 
 get ($config)
 
 isOld ($key, $config)
 Tests whether or not a key is old with respect to the configuration's version and revision number.
 
 remove ($config)
 
 replace ($def, $config)
 
 set ($def, $config)
 

Public Attributes

 $type
 @type string
 

Member Function Documentation

◆ add()

HTMLPurifier_DefinitionCache_Null::add ( $def,
$config )
Parameters
HTMLPurifier_Definition$def
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.

◆ checkDefType()

HTMLPurifier_DefinitionCache::checkDefType ( $def)
inherited

Checks if a definition's type jives with the cache's type.

Note
Throws an error on failure
Parameters
HTMLPurifier_Definition$defDefinition object to check
Return values
booltrue if good, false if not

◆ cleanup()

HTMLPurifier_DefinitionCache_Null::cleanup ( $config)
Parameters
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.

◆ flush()

HTMLPurifier_DefinitionCache_Null::flush ( $config)
Parameters
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.

◆ generateKey()

HTMLPurifier_DefinitionCache::generateKey ( $config)
inherited

Generates a unique identifier for a particular configuration.

Parameters
HTMLPurifier_Config$configInstance of HTMLPurifier_Config
Return values
string

◆ get()

HTMLPurifier_DefinitionCache_Null::get ( $config)
Parameters
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.

◆ isOld()

HTMLPurifier_DefinitionCache::isOld ( $key,
$config )
inherited

Tests whether or not a key is old with respect to the configuration's version and revision number.

Parameters
string$keyKey to test
HTMLPurifier_Config$configInstance of HTMLPurifier_Config to test against
Return values
bool

◆ remove()

HTMLPurifier_DefinitionCache_Null::remove ( $config)
Parameters
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.

◆ replace()

HTMLPurifier_DefinitionCache_Null::replace ( $def,
$config )
Parameters
HTMLPurifier_Definition$def
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.

◆ set()

HTMLPurifier_DefinitionCache_Null::set ( $def,
$config )
Parameters
HTMLPurifier_Definition$def
HTMLPurifier_Config$config
Return values
bool

Reimplemented from HTMLPurifier_DefinitionCache.


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