Open Journal Systems
3.3.0
|
Public Member Functions | |
changeStatus ($articleId, $status) | |
deleteById ($submissionId) | |
newDataObject () | |
removeSubmissionsFromSection ($sectionId) | |
![]() | |
__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) | |
![]() | |
getById ($objectId) | |
insertObject ($object) | |
updateObject ($object) | |
![]() | |
__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 | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
![]() | |
$authorDao | |
$cache | |
$primaryKeyColumn = 'submission_id' | |
$primaryTableColumns | |
$schemaName = SCHEMA_SUBMISSION | |
$settingsTableName = 'submission_settings' | |
$tableName = 'submissions' | |
![]() | |
$primaryKeyColumn | |
$primaryTableColumns = array() | |
$schemaName | |
$settingsTableName | |
$tableName | |
![]() | |
$_dataSource | |
![]() | |
_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().