◆ _prepareDir()
Prepares the directory that this type stores the serials in
- Paramètres
-
- Renvoie
- bool True if successful
◆ _testPermissions()
_testPermissions |
( |
|
$dir, |
|
|
|
$chmod |
|
) |
| |
|
private |
Tests permissions on a directory and throws out friendly error messages and attempts to chmod it itself if possible
- Paramètres
-
string | $dir | Directory path |
int | $chmod | Permissions |
- Renvoie
- bool True if directory is writable
◆ _write()
_write |
( |
|
$file, |
|
|
|
$data, |
|
|
|
$config |
|
) |
| |
|
private |
Convenience wrapper function for file_put_contents
- Paramètres
-
- Renvoie
- int|bool Number of bytes written if success, or false if failure.
◆ add()
◆ cleanup()
◆ flush()
◆ generateBaseDirectoryPath()
generateBaseDirectoryPath |
( |
|
$config | ) |
|
Generates path to base directory that contains all definition type serials
- Paramètres
-
- Renvoie
- mixed|string
- A faire:
- Make protected
◆ generateDirectoryPath()
generateDirectoryPath |
( |
|
$config | ) |
|
Generates the path to the directory contain this cache's serial files
- Paramètres
-
- Renvoie
- string
- Note
- No trailing slash
- A faire:
- Make protected
◆ generateFilePath()
generateFilePath |
( |
|
$config | ) |
|
Generates the file path to the serial file corresponding to the configuration and definition name
- Paramètres
-
- Renvoie
- string
- A faire:
- Make protected
◆ get()
◆ remove()
◆ replace()
replace |
( |
|
$def, |
|
|
|
$config |
|
) |
| |
◆ set()
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCache/Serializer.php