|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct () | |
| _fromRow ($row, $callHooks=true) | |
| deleteById ($entryId) | |
| deleteObject ($identificationCode) | |
| getById ($identificationCodeId, $publicationId=null) | |
| getByPublicationFormatId ($publicationFormatId) | |
| getInsertId () | |
| insertObject ($identificationCode) | |
| newDataObject () | |
| updateObject ($identificationCode) | |
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 IdentificationCode objects.
Definition at line 19 of file IdentificationCodeDAO.inc.php.
| IdentificationCodeDAO::__construct | ( | ) |
Constructor
Definition at line 23 of file IdentificationCodeDAO.inc.php.
| IdentificationCodeDAO::_fromRow | ( | $row, | |
$callHooks = true |
|||
| ) |
Internal function to return a IdentificationCode object from a row.
| $row | array |
| $callHooks | boolean |
Definition at line 82 of file IdentificationCodeDAO.inc.php.
References HookRegistry\call(), and newDataObject().
Referenced by getById().
| IdentificationCodeDAO::deleteById | ( | $entryId | ) |
delete a identification code by id.
| $entryId | int |
Definition at line 144 of file IdentificationCodeDAO.inc.php.
References DAO\update().
Referenced by deleteObject().
| IdentificationCodeDAO::deleteObject | ( | $identificationCode | ) |
Delete an identification code by id.
| $identificationCode | IdentificationCode |
Definition at line 136 of file IdentificationCodeDAO.inc.php.
References deleteById().
| IdentificationCodeDAO::getById | ( | $identificationCodeId, | |
$publicationId = null |
|||
| ) |
Retrieve an identification code by type id.
| $identificationCodeId | int |
| $publicationId | optional int |
Definition at line 33 of file IdentificationCodeDAO.inc.php.
References _fromRow(), and DAO\retrieve().
| IdentificationCodeDAO::getByPublicationFormatId | ( | $publicationFormatId | ) |
Retrieve all identification codes for a publication format
| $publicationFormatId | int |
Definition at line 61 of file IdentificationCodeDAO.inc.php.
References DAO\retrieveRange().
| IdentificationCodeDAO::getInsertId | ( | ) |
Get the ID of the last inserted identification code.
Definition at line 154 of file IdentificationCodeDAO.inc.php.
References DAO\_getInsertId().
Referenced by insertObject().
| IdentificationCodeDAO::insertObject | ( | $identificationCode | ) |
Insert a new identification code.
| $identificationCode | IdentificationCode |
Definition at line 98 of file IdentificationCodeDAO.inc.php.
References getInsertId(), and DAO\update().
| IdentificationCodeDAO::newDataObject | ( | ) |
Construct a new data object corresponding to this DAO.
Definition at line 72 of file IdentificationCodeDAO.inc.php.
Referenced by _fromRow().
| IdentificationCodeDAO::updateObject | ( | $identificationCode | ) |
Update an existing identification code.
| $identificationCode | IdentificationCode |
Definition at line 119 of file IdentificationCodeDAO.inc.php.
References DAO\update().