Open Monograph Press  3.3.0
SubmissionDAO Class Reference
Inheritance diagram for SubmissionDAO:
PKPSubmissionDAO SchemaDAO DAO ReviewerSubmissionDAO

Public Member Functions

 deleteById ($submissionId)
 
 getSortSelectOptions ()
 
 newDataObject ()
 
- 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)
 
 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='')
 

Detailed Description

Operations for retrieving and modifying Monograph objects.

See also
Submission

Definition at line 22 of file SubmissionDAO.inc.php.

Member Function Documentation

◆ deleteById()

SubmissionDAO::deleteById (   $submissionId)

Delete a submission by ID.

Parameters
$submissionIdint

Reimplemented from PKPSubmissionDAO.

Definition at line 35 of file SubmissionDAO.inc.php.

References DAORegistry\getDAO(), and Application\getSubmissionSearchIndex().

◆ getSortSelectOptions()

SubmissionDAO::getSortSelectOptions ( )

Get possible sort options.

Returns
array

Reimplemented from PKPSubmissionDAO.

Definition at line 54 of file SubmissionDAO.inc.php.

References PKPSubmissionDAO\getSortOption().

◆ newDataObject()

SubmissionDAO::newDataObject ( )

Get a new data object representing the monograph.

Returns
Submission

Reimplemented from SchemaDAO.

Reimplemented in ReviewerSubmissionDAO.

Definition at line 28 of file SubmissionDAO.inc.php.


The documentation for this class was generated from the following file: