|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| changeStatus ($articleId, $status) | |
| deleteById ($submissionId) | |
| newDataObject () | |
| removeSubmissionsFromSection ($sectionId) | |
Public Member Functions inherited from PKPSubmissionDAO | |
| __construct () | |
| _cacheMiss ($cache, $id) | |
| _fromRow ($row) | |
| _getCache () | |
| deleteByContextId ($contextId) | |
| deleteObject ($submission) | |
| flushCache () | |
| getByContextId ($contextId) | |
| getByPubId ($pubIdType, $pubId, $contextId=null) | |
| getDefaultSortOption () | |
| getExportable ($contextId, $pubIdType=null, $title=null, $author=null, $issueId=null, $pubIdSettingName=null, $pubIdSettingValue=null, $rangeInfo=null) | |
| getInsertId () | |
| getSortBy ($sortOption) | |
| getSortDirection ($sortOption) | |
| getSortOption ($sortBy, $sortDir) | |
| getSortSelectOptions () | |
| resetPermissions ($contextId) | |
Public Member Functions inherited from SchemaDAO | |
| getById ($objectId) | |
| insertObject ($object) | |
| updateObject ($object) | |
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) | |
| 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 PKPSubmissionDAO | |
| $authorDao | |
| $cache | |
| $primaryKeyColumn = 'submission_id' | |
| $primaryTableColumns | |
| $schemaName = SCHEMA_SUBMISSION | |
| $settingsTableName = 'submission_settings' | |
| $tableName = 'submissions' | |
Data Fields inherited from SchemaDAO | |
| $primaryKeyColumn | |
| $primaryTableColumns = array() | |
| $schemaName | |
| $settingsTableName | |
| $tableName | |
Data Fields inherited from DAO | |
| $_dataSource | |
Protected Member Functions inherited from DAO | |
| _getInsertId ($table='', $id='') | |
Operations for retrieving and modifying Article objects.
Definition at line 20 of file SubmissionDAO.inc.php.
| SubmissionDAO::changeStatus | ( | $articleId, | |
| $status | |||
| ) |
Change the status of the article
| $articleId | int |
| $status | int |
Definition at line 61 of file SubmissionDAO.inc.php.
References PKPSubmissionDAO\flushCache(), and DAO\update().
| SubmissionDAO::deleteById | ( | $submissionId | ) |
Delete an object by its ID
| $objectId | int |
Reimplemented from PKPSubmissionDAO.
Definition at line 33 of file SubmissionDAO.inc.php.
References PKPSubmissionDAO\flushCache(), PKPServices\get(), DAORegistry\getDAO(), and Application\getSubmissionSearchIndex().
| SubmissionDAO::newDataObject | ( | ) |
Return a new data object.
Reimplemented from SchemaDAO.
Reimplemented in ReviewerSubmissionDAO.
Definition at line 26 of file SubmissionDAO.inc.php.
| SubmissionDAO::removeSubmissionsFromSection | ( | $sectionId | ) |
Removes articles from a section by section ID
| $sectionId | int |
Definition at line 74 of file SubmissionDAO.inc.php.
References PKPSubmissionDAO\flushCache(), and DAO\update().