Public Member Functions | |
LFSWorldFileCache (&$cache, $params=array()) | |
get ($params) | |
save ($data, $params) | |
createKey ($uniqData) | |
requiresDataReload () | |
Protected Member Functions | |
_getLastUpdate () | |
Protected Attributes | |
$m_oCache = null | |
$m_nLastUpdate = 0 | |
$m_aDefaults |
Definition at line 22 of file lfsworldfilecache.php.
|
LFSWorldFileCache Ctor.
Definition at line 51 of file lfsworldfilecache.php. |
|
Returns the last update timestamp of the last cache fetched.
Definition at line 121 of file lfsworldfilecache.php. Referenced by get(). |
|
Creates a unique key for the data provided.
Definition at line 110 of file lfsworldfilecache.php. |
|
Retrieve data from the cache.
Definition at line 64 of file lfsworldfilecache.php. References _getLastUpdate(), and array_merge_replace(). |
|
Returns a boolean indicating whether LFSWorldFileCache::get should be called immediately after a save.
Definition at line 133 of file lfsworldfilecache.php. |
|
Save data to the cache.
Definition at line 89 of file lfsworldfilecache.php. References array_merge_replace(). |
|
Initial value: array( 'group' => 'default', 'noValidityCheck' => false) Definition at line 40 of file lfsworldfilecache.php. |
|
(Integer) Last update time of the cache file as a UNIX timestamp. Definition at line 34 of file lfsworldfilecache.php. |
|
(Object) An instance of a Cache_lite object, or at least an object with a compatibile interface. Definition at line 28 of file lfsworldfilecache.php. |