Cheetah
Public Member Functions | List of all members
HTMLPurifier_DefinitionCache_Serializer Class Reference
Inheritance diagram for HTMLPurifier_DefinitionCache_Serializer:
HTMLPurifier_DefinitionCache

Public Member Functions

 add ($def, $config)
 
 set ($def, $config)
 
 replace ($def, $config)
 
 get ($config)
 
 remove ($config)
 
 flush ($config)
 
 cleanup ($config)
 
 generateFilePath ($config)
 
 generateDirectoryPath ($config)
 
 generateBaseDirectoryPath ($config)
 
- Public Member Functions inherited from HTMLPurifier_DefinitionCache
 __construct ($type)
 
 generateKey ($config)
 
 isOld ($key, $config)
 
 checkDefType ($def)
 

Additional Inherited Members

- Public Attributes inherited from HTMLPurifier_DefinitionCache
 $type
 

Detailed Description

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

Member Function Documentation

◆ add()

HTMLPurifier_DefinitionCache_Serializer::add (   $def,
  $config 
)
Parameters
HTMLPurifier_Definition$def
HTMLPurifier_Config$config
Returns
int|bool

Reimplemented from HTMLPurifier_DefinitionCache.

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

◆ cleanup()

HTMLPurifier_DefinitionCache_Serializer::cleanup (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool

Reimplemented from HTMLPurifier_DefinitionCache.

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

◆ flush()

HTMLPurifier_DefinitionCache_Serializer::flush (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool

Reimplemented from HTMLPurifier_DefinitionCache.

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

◆ generateBaseDirectoryPath()

HTMLPurifier_DefinitionCache_Serializer::generateBaseDirectoryPath (   $config)

Generates path to base directory that contains all definition type serials

Parameters
HTMLPurifier_Config$config
Returns
mixed|string

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

◆ generateDirectoryPath()

HTMLPurifier_DefinitionCache_Serializer::generateDirectoryPath (   $config)

Generates the path to the directory contain this cache's serial files

Parameters
HTMLPurifier_Config$config
Returns
string
Note
No trailing slash

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

◆ generateFilePath()

HTMLPurifier_DefinitionCache_Serializer::generateFilePath (   $config)

Generates the file path to the serial file corresponding to the configuration and definition name

Parameters
HTMLPurifier_Config$config
Returns
string

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

◆ get()

HTMLPurifier_DefinitionCache_Serializer::get (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool|HTMLPurifier_Config

Reimplemented from HTMLPurifier_DefinitionCache.

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

◆ remove()

HTMLPurifier_DefinitionCache_Serializer::remove (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool

Reimplemented from HTMLPurifier_DefinitionCache.

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

◆ replace()

HTMLPurifier_DefinitionCache_Serializer::replace (   $def,
  $config 
)
Parameters
HTMLPurifier_Definition$def
HTMLPurifier_Config$config
Returns
int|bool

Reimplemented from HTMLPurifier_DefinitionCache.

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

◆ set()

HTMLPurifier_DefinitionCache_Serializer::set (   $def,
  $config 
)
Parameters
HTMLPurifier_Definition$def
HTMLPurifier_Config$config
Returns
int|bool

Reimplemented from HTMLPurifier_DefinitionCache.

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


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