|
Basis of all DAO's.
More...
Inheritance diagram for GenericDAO:
[legend]List of all members.
|
Public Member Functions |
| | getTable () |
| | getObjectName () |
| | getFields () |
| | getSequence () |
| | getLinkName () |
| | Returns link name which is used to get actual db-link from DBPool, returning null by default for backwards compatibility.
|
| | makeSelectHead () |
|
| | get (ObjectQuery $oq, $expires=Cache::DO_NOT_CACHE) |
| | getById ($id, $expires=Cache::EXPIRES_MEDIUM) |
| | getByLogic (LogicalObject $logic, $expires=Cache::DO_NOT_CACHE) |
| | getByQuery (SelectQuery $query, $expires=Cache::EXPIRES_MEDIUM) |
| | getCustom (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) |
| | getList (ObjectQuery $oq, $expires=Cache::DO_NOT_CACHE) |
| | getListByIds ($ids, $expires=Cache::EXPIRES_MEDIUM) |
| | getListByQuery (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) |
| | getListByLogic (LogicalObject $logic, $expires=Cache::DO_NOT_CACHE) |
| | getPlainList ($expires=Cache::EXPIRES_MEDIUM) |
| | getCustomList (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) |
| | getCustomRowList (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) |
| | getCountedList (ObjectQuery $oq, $expires=Cache::DO_NOT_CACHE) |
| | getQueryResult (SelectQuery $query, $expires=Cache::DO_NOT_CACHE) |
| | cacheById (Identifiable $object, $expires=Cache::EXPIRES_MEDIUM) |
| | cacheByQuery (SelectQuery $query, $object, $expires=Cache::DO_NOT_CACHE) |
| | cacheListByQuery (SelectQuery $query, $array) |
| | getCachedById ($id) |
| | getCachedByQuery (SelectQuery $query) |
| | dropById ($id) |
| | dropByIds ($ids) |
| | uncacheById ($id) |
| | uncacheByIds ($ids) |
| | uncacheByQuery (SelectQuery $query) |
| | uncacheLists () |
Protected Member Functions |
| | makeObject (&$array, $prefix=null) |
| | Builds complete object.
|
Protected Attributes |
| | $link = null |
| | $selectHead = null |
| | $fields = array() |
Detailed Description
Basis of all DAO's.
Definition at line 18 of file GenericDAO.class.php.
Member Function Documentation
| GenericDAO::getTable |
( |
|
) |
[abstract] |
| GenericDAO::getObjectName |
( |
|
) |
[abstract] |
| GenericDAO::makeObject |
( |
&$ |
array, |
|
|
$ |
prefix = null | |
|
) |
| | [abstract, protected] |
| GenericDAO::getFields |
( |
|
) |
|
| GenericDAO::getSequence |
( |
|
) |
|
| GenericDAO::getLinkName |
( |
|
) |
|
Returns link name which is used to get actual db-link from DBPool, returning null by default for backwards compatibility.
- See also:
- DBPool
Definition at line 58 of file GenericDAO.class.php.
| GenericDAO::makeSelectHead |
( |
|
) |
|
| GenericDAO::cacheListByQuery |
( |
SelectQuery $ |
query, |
|
|
$ |
array | |
|
) |
| | |
| GenericDAO::getCachedById |
( |
$ |
id |
) |
|
| GenericDAO::dropById |
( |
$ |
id |
) |
|
| GenericDAO::dropByIds |
( |
$ |
ids |
) |
|
| GenericDAO::uncacheById |
( |
$ |
id |
) |
|
| GenericDAO::uncacheByIds |
( |
$ |
ids |
) |
|
| GenericDAO::uncacheLists |
( |
|
) |
|
Member Data Documentation
GenericDAO::$link = null [protected] |
GenericDAO::$selectHead = null [protected] |
GenericDAO::$fields = array() [protected] |
The documentation for this class was generated from the following file:
|