|
ultimix
|
Public Member Functions | |
| __construct () | |
| reset () | |
| get_data ($SectionOriginName) | |
| set_data ($SectionOriginName, $Data) | |
| add_data ($SectionOriginName, $Data, $Tags=array()) | |
| delete_data ($SectionOriginName) | |
| data_exists ($SectionOriginName) | |
| delete_data_by_tag ($Tag) | |
| flush () | |
| drop_cache () | |
| __destruct () | |
Data Fields | |
| $Cache | |
| $Security = false | |
| $CacheWasUpdated = false | |
| $TableOfContents = false | |
| $CacheSwitch = true | |
| $CacheTimeout = 120 | |
| __construct | ( | ) |
Constructor loads cache from file.
| Exception | An exception of this type is thrown. |
Definition at line 114 of file cache.php.
| __destruct | ( | ) |
Constructor loads cache from file.
| Exception | An exception of this type is thrown. |
Definition at line 808 of file cache.php.
| add_data | ( | $SectionOriginName, | |
| $Data, | |||
$Tags = array() |
|||
| ) |
Additing data to cache.
| $SectionOriginName | - Name of the searching section (before transformation). |
| $Data | - Data to cache. |
| $Tags | - Data tags. |
| Exception | An exception of this type is thrown. |
Definition at line 475 of file cache.php.
| data_exists | ( | $SectionOriginName | ) |
Check, wether data exists in the cache.
| $SectionOriginName | - Name of the searching section (before transformation). |
| Exception | An exception of this type is thrown. |
Definition at line 560 of file cache.php.
| delete_data | ( | $SectionOriginName | ) |
Deleting data from cache.
| $SectionOriginName | - Name of the searching section (before transformation). |
| Exception | An exception of this type is thrown. |
Definition at line 519 of file cache.php.
| delete_data_by_tag | ( | $Tag | ) |
Deleting data from cache by it's tag.
| $Tag | - Tag of the deleting section. |
| Exception | An exception of this type is thrown. |
Definition at line 695 of file cache.php.
| drop_cache | ( | ) |
Function drops cache.
| Exception | An exception of this type is thrown. |
Definition at line 779 of file cache.php.
| flush | ( | ) |
Function flushes all data on disk.
| Exception | An exception of this type is thrown. |
save updated cache
save cache's table of content
Definition at line 738 of file cache.php.
| get_data | ( | $SectionOriginName | ) |
Extracting cache data.
| $SectionOriginName | - Name of the searching section (before transformation). |
| Exception | An exception of this type is thrown. |
Definition at line 267 of file cache.php.
| reset | ( | ) |
Function resets settings.
| Exception | An exception of this type is thrown. |
Definition at line 152 of file cache.php.
| set_data | ( | $SectionOriginName, | |
| $Data | |||
| ) |
Function sets data.
| $SectionOriginName | - Name of the searching section (before transformation). |
| $Data | - Data. |
| Exception | An exception of this type is thrown. |
Definition at line 414 of file cache.php.
| $CacheTimeout = 120 |