|
| getById ($representationId, $publicationId=null, $contextId=null) |
|
| getByPublicationId ($publicationId, $contextId=null) |
|
| __construct ($dataSource=null, $callHooks=true) |
|
| concat () |
|
| convertFromDB ($value, $type) |
|
| convertToDB ($value, &$type) |
|
| dateFromDB ($d) |
|
| datetimeFromDB ($dt) |
|
| datetimeToDB ($dt) |
|
| dateToDB ($d) |
|
| flushCache () |
|
| formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) |
|
| getAdditionalFieldNames () |
|
| getAffectedRows () |
|
| getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) |
|
| getDataSource () |
|
| getDirectionMapping ($direction) |
|
| getDriver () |
|
| getLocaleFieldNames () |
|
| getType ($value) |
|
| handleError ($dataSource, $sql) |
|
| nullOrInt ($value) |
|
| replace ($table, $arrFields, $keyCols) |
|
& | retrieve ($sql, $params=false, $callHooks=true) |
|
& | retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true) |
|
& | retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true) |
|
& | retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true) |
|
| setCacheDir () |
|
| setDataSource ($dataSource) |
|
| update ($sql, $params=false, $callHooks=true, $dieOnError=true) |
|
| updateDataObjectSettings ($tableName, $dataObject, $idArray) |
|
Abstract DAO for fetching/working with DB storage of Representation objects.
- See also
- Representation
Definition at line 16 of file RepresentationDAO.inc.php.
◆ getById()
RepresentationDAO::getById |
( |
|
$representationId, |
|
|
|
$publicationId = null , |
|
|
|
$contextId = null |
|
) |
| |
|
abstract |
Retrieves a representation by ID.
- Parameters
-
$representationId | int Representation ID. |
$publicationId | int Optional publication ID. |
$contextId | int Optional context ID. |
- Returns
- DAOResultFactory
◆ getByPublicationId()
RepresentationDAO::getByPublicationId |
( |
|
$publicationId, |
|
|
|
$contextId = null |
|
) |
| |
|
abstract |
Retrieves an iterator of representations for a publication
- Parameters
-
$publicationId | int |
$contextId | int |
- Returns
- DAOResultFactory
The documentation for this class was generated from the following file: