|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| _fromRow ($row) | |
| deleteByContextId ($contextId) | |
| deleteById ($sectionId, $contextId=null) | |
| deleteObject ($section) | |
| getByContextId ($contextId, $rangeInfo=null, $submittableOnly=false) | |
| getById ($sectionId, $contextId=null) | |
| getLocaleFieldNames () | |
| getTitlesByContextId ($contextId, $submittableOnly=false) | |
| newDataObject () | |
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 () | |
| 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 Section objects.
Definition at line 17 of file PKPSectionDAO.inc.php.
| PKPSectionDAO::_fromRow | ( | $row | ) |
Generate a new PKPSection object from row.
| $row | array |
Reimplemented in SectionDAO.
Definition at line 39 of file PKPSectionDAO.inc.php.
References newDataObject().
| PKPSectionDAO::deleteByContextId | ( | $contextId | ) |
Delete sections by context ID NOTE: This does not necessarily delete dependent entries.
| $contextId | int |
Definition at line 77 of file PKPSectionDAO.inc.php.
References deleteObject(), and getByContextId().
Referenced by SectionDAO\deleteByJournalId().
|
abstract |
Delete a section by ID.
| $sectionId | int |
| $journalId | int optional |
Reimplemented in SectionDAO.
Referenced by deleteObject().
| PKPSectionDAO::deleteObject | ( | $section | ) |
Delete a section.
| $section | Section |
Definition at line 61 of file PKPSectionDAO.inc.php.
References deleteById().
Referenced by deleteByContextId().
|
abstract |
Retrieve all sections for a context.
| $contextId | int context ID |
| $rangeInfo | DBResultRange optional |
| $submittableOnly | boolean optional. Whether to return only sections that can be submitted to by anyone. |
Reimplemented in SectionDAO.
Referenced by deleteByContextId(), and getTitlesByContextId().
|
abstract |
Retrieve a section by ID.
| $sectionId | int |
| $journalId | int optional |
| $useCache | boolean optional |
| PKPSectionDAO::getLocaleFieldNames | ( | ) |
Get the list of fields for which data can be localized.
Reimplemented from DAO.
Reimplemented in SectionDAO.
Definition at line 53 of file PKPSectionDAO.inc.php.
| PKPSectionDAO::getTitlesByContextId | ( | $contextId, | |
$submittableOnly = false |
|||
| ) |
Retrieve the IDs and titles of the sections for a context in an associative array.
| $contextId | int context ID |
| $submittableOnly | boolean optional. Whether to return only sections that can be submitted to by anyone. |
Definition at line 101 of file PKPSectionDAO.inc.php.
References getByContextId().
|
abstract |