getCachedList (SelectQuery $query) | |
cacheNullById ($id) | |
keyToInt ($key) | |
getCachedByQuery (SelectQuery $query) | |
internal helpers | |
Public Member Functions | |
get (ObjectQuery $oq) | |
single object getters | |
getById ($id) | |
getByLogic (LogicalObject $logic) | |
getByQuery (SelectQuery $query) | |
getCustom (SelectQuery $query) | |
getList (ObjectQuery $oq) | |
object's list getters | |
getListByIds ($ids) | |
getListByQuery (SelectQuery $query) | |
getListByLogic (LogicalObject $logic) | |
getPlainList () | |
getCustomList (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) | |
custom list getters | |
getCustomRowList (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) | |
getCountedList (ObjectQuery $oq) | |
query result getters | |
getQueryResult (SelectQuery $query) | |
cacheById (Identifiable $object) | |
cachers | |
uncacheById ($id) | |
uncachers | |
uncacheByIds ($ids) | |
Protected Member Functions | |
gentlyGetByKey ($key) |
SmartDaoWorker for less obscure locking-based worker.
Definition at line 21 of file TransparentDaoWorker.class.php.
TransparentDaoWorker::gentlyGetByKey | ( | $ | key | ) | [abstract, protected] |
Reimplemented in SmartDaoWorker, and VoodooDaoWorker.
Referenced by getCachedByQuery(), and getCachedList().
TransparentDaoWorker::get | ( | ObjectQuery $ | oq | ) |
single object getters
Implements BaseDAO.
Definition at line 27 of file TransparentDaoWorker.class.php.
References getByQuery().
TransparentDaoWorker::getById | ( | $ | id | ) |
Implements BaseDAO.
Definition at line 32 of file TransparentDaoWorker.class.php.
References cacheById(), cacheNullById(), DBField::create(), Expression::eq(), BaseDaoWorker::fetchObject(), BaseDaoWorker::getCachedById(), and Cache::NOT_FOUND.
TransparentDaoWorker::getByLogic | ( | LogicalObject $ | logic | ) |
Implements BaseDAO.
Definition at line 63 of file TransparentDaoWorker.class.php.
References getByQuery().
TransparentDaoWorker::getByQuery | ( | SelectQuery $ | query | ) |
Implements BaseDAO.
Definition at line 71 of file TransparentDaoWorker.class.php.
References BaseDAO::cacheByQuery(), BaseDaoWorker::fetchObject(), getCachedByQuery(), and Cache::NOT_FOUND.
Referenced by get(), and getByLogic().
TransparentDaoWorker::getCustom | ( | SelectQuery $ | query | ) |
Implements BaseDAO.
Definition at line 92 of file TransparentDaoWorker.class.php.
References BaseDAO::cacheByQuery(), DBPool::getByDao(), getCachedByQuery(), and Cache::NOT_FOUND.
TransparentDaoWorker::getList | ( | ObjectQuery $ | oq | ) |
object's list getters
Implements BaseDAO.
Definition at line 121 of file TransparentDaoWorker.class.php.
References getListByQuery().
TransparentDaoWorker::getListByIds | ( | $ | ids | ) |
Implements BaseDAO.
Definition at line 126 of file TransparentDaoWorker.class.php.
References BaseDaoWorker::getCachedById(), getListByLogic(), Expression::in(), and Cache::NOT_FOUND.
TransparentDaoWorker::getListByQuery | ( | SelectQuery $ | query | ) |
Implements BaseDAO.
Definition at line 161 of file TransparentDaoWorker.class.php.
References BaseDAO::cacheListByQuery(), BaseDaoWorker::fetchList(), getCachedList(), and Cache::NOT_FOUND.
Referenced by getList(), getListByLogic(), and getPlainList().
TransparentDaoWorker::getListByLogic | ( | LogicalObject $ | logic | ) |
Implements BaseDAO.
Definition at line 182 of file TransparentDaoWorker.class.php.
References getListByQuery().
Referenced by getListByIds().
TransparentDaoWorker::getPlainList | ( | ) |
Implements BaseDAO.
Definition at line 189 of file TransparentDaoWorker.class.php.
References getListByQuery().
TransparentDaoWorker::getCustomList | ( | SelectQuery $ | query, | |
$ | expires = Cache::DO_NOT_CACHE | |||
) |
custom list getters
Definition at line 199 of file TransparentDaoWorker.class.php.
References BaseDAO::cacheByQuery(), DBPool::getByDao(), getCachedByQuery(), and Cache::NOT_FOUND.
TransparentDaoWorker::getCustomRowList | ( | SelectQuery $ | query, | |
$ | expires = Cache::DO_NOT_CACHE | |||
) |
Definition at line 224 of file TransparentDaoWorker.class.php.
References BaseDAO::cacheByQuery(), DBPool::getByDao(), getCachedByQuery(), and Cache::NOT_FOUND.
TransparentDaoWorker::getCountedList | ( | ObjectQuery $ | oq | ) |
query result getters
Implements BaseDAO.
Definition at line 257 of file TransparentDaoWorker.class.php.
References getQueryResult().
TransparentDaoWorker::getQueryResult | ( | SelectQuery $ | query | ) |
Implements BaseDAO.
Definition at line 262 of file TransparentDaoWorker.class.php.
References BaseDAO::cacheByQuery(), QueryResult::create(), SQLFunction::create(), BaseDaoWorker::fetchList(), DBPool::getByDao(), and getCachedByQuery().
Referenced by getCountedList().
TransparentDaoWorker::cacheById | ( | Identifiable $ | object | ) |
cachers
Implements BaseDAO.
Definition at line 296 of file TransparentDaoWorker.class.php.
References Cache::EXPIRES_FOREVER, Identifiable::getId(), and Cache::me().
Referenced by VoodooDaoWorker::cacheListByQuery(), SmartDaoWorker::cacheListByQuery(), and getById().
TransparentDaoWorker::uncacheById | ( | $ | id | ) |
uncachers
Reimplemented from BaseDaoWorker.
Definition at line 311 of file TransparentDaoWorker.class.php.
TransparentDaoWorker::uncacheByIds | ( | $ | ids | ) |
TransparentDaoWorker::getCachedByQuery | ( | SelectQuery $ | query | ) |
internal helpers
Reimplemented from BaseDaoWorker.
Definition at line 329 of file TransparentDaoWorker.class.php.
References gentlyGetByKey().
Referenced by getByQuery(), getCustom(), getCustomList(), getCustomRowList(), and getQueryResult().
TransparentDaoWorker::getCachedList | ( | SelectQuery $ | query | ) | [protected] |
Definition at line 337 of file TransparentDaoWorker.class.php.
References gentlyGetByKey().
Referenced by getListByQuery().
TransparentDaoWorker::cacheNullById | ( | $ | id | ) | [protected] |
Definition at line 345 of file TransparentDaoWorker.class.php.
References Cache::EXPIRES_FOREVER, Cache::me(), and Cache::NOT_FOUND.
Referenced by getById().
TransparentDaoWorker::keyToInt | ( | $ | key | ) | [protected] |
Definition at line 358 of file TransparentDaoWorker.class.php.
Referenced by VoodooDaoWorker::__construct(), SmartDaoWorker::cacheByQuery(), SmartDaoWorker::cacheListByQuery(), SmartDaoWorker::checkMap(), and SmartDaoWorker::uncacheLists().