|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct () | |
| _fromRow ($row, $callHooks=true) | |
| deleteById ($entryId) | |
| deleteObject ($publicationDate) | |
| getById ($publicationDateId, $publicationId=null) | |
| getByPublicationFormatId ($representationId) | |
| getInsertId () | |
| insertObject ($publicationDate) | |
| newDataObject () | |
| updateObject ($publicationDate) | |
Public Member Functions inherited from DAO | |
| __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) | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
| static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Data Fields inherited from DAO | |
| $_dataSource | |
Protected Member Functions inherited from DAO | |
| _getInsertId ($table='', $id='') | |
Operations for retrieving and modifying PublicationDate objects.
Definition at line 19 of file PublicationDateDAO.inc.php.
| PublicationDateDAO::__construct | ( | ) |
Constructor
Definition at line 23 of file PublicationDateDAO.inc.php.
| PublicationDateDAO::_fromRow | ( | $row, | |
$callHooks = true |
|||
| ) |
Internal function to return a PublicationDate object from a row.
| $row | array |
| $callHooks | boolean |
Definition at line 84 of file PublicationDateDAO.inc.php.
References HookRegistry\call(), and newDataObject().
Referenced by getById().
| PublicationDateDAO::deleteById | ( | $entryId | ) |
delete a publication date by id.
| $entryId | int |
Definition at line 149 of file PublicationDateDAO.inc.php.
References DAO\update().
Referenced by deleteObject().
| PublicationDateDAO::deleteObject | ( | $publicationDate | ) |
Delete a publication date.
| $publicationDate | PublicationDate |
Definition at line 141 of file PublicationDateDAO.inc.php.
References deleteById().
| PublicationDateDAO::getById | ( | $publicationDateId, | |
$publicationId = null |
|||
| ) |
Retrieve a publication date by type id.
| $publicationDateId | int |
| $publicationId | optional int |
Definition at line 33 of file PublicationDateDAO.inc.php.
References _fromRow(), and DAO\retrieve().
| PublicationDateDAO::getByPublicationFormatId | ( | $representationId | ) |
Retrieve all publication dates for an assigned publication format
| $representationId | int |
Definition at line 61 of file PublicationDateDAO.inc.php.
References DAO\retrieveRange().
| PublicationDateDAO::getInsertId | ( | ) |
Get the ID of the last inserted publication date.
Definition at line 159 of file PublicationDateDAO.inc.php.
References DAO\_getInsertId().
Referenced by insertObject().
| PublicationDateDAO::insertObject | ( | $publicationDate | ) |
Insert a new publication date.
| $publicationDate | PublicationDate |
Definition at line 101 of file PublicationDateDAO.inc.php.
References getInsertId(), and DAO\update().
| PublicationDateDAO::newDataObject | ( | ) |
Construct a new data object corresponding to this DAO.
Definition at line 74 of file PublicationDateDAO.inc.php.
Referenced by _fromRow().
| PublicationDateDAO::updateObject | ( | $publicationDate | ) |
Update an existing publication date.
| $publicationDate | PublicationDate |
Definition at line 123 of file PublicationDateDAO.inc.php.
References DAO\update().