|
Moodle
2.2.1
http://www.collinsharper.com
|


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) | |
Definition at line 3 of file Serializer.php.
| add | ( | $ | def, |
| $ | config | ||
| ) |
Adds a definition object to the cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 7 of file Serializer.php.

| cleanup | ( | $ | config | ) |
Clears all expired (older version or revision) objects from cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 53 of file Serializer.php.

| flush | ( | $ | config | ) |
Clears all objects from cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 42 of file Serializer.php.

| generateBaseDirectoryPath | ( | $ | config | ) |
Generates path to base directory that contains all definition type serials
Definition at line 90 of file Serializer.php.

| generateDirectoryPath | ( | $ | config | ) |
Generates the path to the directory contain this cache's serial files
Definition at line 80 of file Serializer.php.


| generateFilePath | ( | $ | config | ) |
Generates the file path to the serial file corresponding to the configuration and definition name
Definition at line 70 of file Serializer.php.


| get | ( | $ | config | ) |
Retrieves a definition object from the cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 30 of file Serializer.php.

| remove | ( | $ | config | ) |
Removes a definition object to the cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 36 of file Serializer.php.

| replace | ( | $ | def, |
| $ | config | ||
| ) |
Replace an object in the cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 22 of file Serializer.php.

| set | ( | $ | def, |
| $ | config | ||
| ) |
Unconditionally saves a definition object to the cache
Reimplemented from HTMLPurifier_DefinitionCache.
Definition at line 15 of file Serializer.php.
