API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_DefinitionCache_Serializer Class Reference
Inheritance diagram for HTMLPurifier_DefinitionCache_Serializer:
Collaboration diagram for HTMLPurifier_DefinitionCache_Serializer:

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)
 
 add ($def, $config)
 
 set ($def, $config)
 
 replace ($def, $config)
 
 get ($config)
 
 remove ($config)
 
 flush ($config)
 
 cleanup ($config)
 

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_DefinitionCache
 $type
 

Member Function Documentation

◆ add()

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

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

◆ cleanup()

cleanup (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

◆ flush()

flush (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

◆ generateBaseDirectoryPath()

generateBaseDirectoryPath (   $config)

Generates path to base directory that contains all definition type serials

Parameters
HTMLPurifier_Config$config
Returns
mixed|string
Todo:
Make protected
Here is the caller graph for this function:

◆ generateDirectoryPath()

generateDirectoryPath (   $config)

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

Parameters
HTMLPurifier_Config$config
Returns
string
Note
No trailing slash
Todo:
Make protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ generateFilePath()

generateFilePath (   $config)

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

Parameters
HTMLPurifier_Config$config
Returns
string
Todo:
Make protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get()

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

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

◆ remove()

remove (   $config)
Parameters
HTMLPurifier_Config$config
Returns
bool

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

◆ replace()

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

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

◆ set()

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

Reimplemented from HTMLPurifier_DefinitionCache.

Here is the call graph for this function:

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