Cache custom scoped data. More...
Public Member Functions | |
__construct ($dao) | |
cacheData ($key, $data, $expires=Cache::EXPIRES_FOREVER) | |
getCachedData ($key) | |
Private Member Functions | |
makeDataKey ($key, $suffix) |
Cache custom scoped data.
Definition at line 20 of file CustomDataScopedWorker.class.php.
CustomDataScopedWorker::__construct | ( | $ | dao | ) |
Definition at line 22 of file CustomDataScopedWorker.class.php.
References BaseDaoWorker::$dao, and Cache::me().
CustomDataScopedWorker::cacheData | ( | $ | key, | |
$ | data, | |||
$ | expires = Cache::EXPIRES_FOREVER | |||
) |
Definition at line 33 of file CustomDataScopedWorker.class.php.
References makeDataKey(), and Cache::me().
CustomDataScopedWorker::getCachedData | ( | $ | key | ) |
Definition at line 49 of file CustomDataScopedWorker.class.php.
References makeDataKey(), and Cache::me().
CustomDataScopedWorker::makeDataKey | ( | $ | key, | |
$ | suffix | |||
) | [private] |
Definition at line 56 of file CustomDataScopedWorker.class.php.
Referenced by cacheData(), and getCachedData().