Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
EditDecisionDAO Class Reference
Inheritance diagram for EditDecisionDAO:
DAO

Public Member Functions

 deleteDecisionsBySubmissionId ($submissionId)
 
 EditDecisionDAO ()
 
 getEditorDecisions ($submissionId, $stageId=null, $round=null)
 
 transferEditorDecisions ($oldUserId, $newUserId)
 
 updateEditorDecision ($submissionId, $editorDecision, $stageId=null, $reviewRound=null)
 
- Public Member Functions inherited from DAO
 concat ()
 
 convertFromDB ($value, $type)
 
 convertToDB ($value, &$type)
 
 DAO ($dataSource=null, $callHooks=true)
 
 dateFromDB ($d)
 
 datetimeFromDB ($dt)
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 flushCache ()
 
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 
 getAffectedRows ()
 
getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 getType ($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)
 
- Public Attributes inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table= '', $id= '')
 

Detailed Description

Operations for retrieving and modifying editor decisions.

Definition at line 20 of file EditDecisionDAO.inc.php.

Member Function Documentation

EditDecisionDAO::deleteDecisionsBySubmissionId (   $submissionId)

Delete editing decisions by submission ID.

Parameters
$submissionIdint

Definition at line 59 of file EditDecisionDAO.inc.php.

References DAO\update().

EditDecisionDAO::EditDecisionDAO ( )

Constructor.

Definition at line 24 of file EditDecisionDAO.inc.php.

EditDecisionDAO::getEditorDecisions (   $submissionId,
  $stageId = null,
  $round = null 
)

Get the editor decisions for a review round of a submission.

Parameters
$submissionIdint
$stageIdint optional
$roundint optional

Definition at line 72 of file EditDecisionDAO.inc.php.

References DAO\retrieve().

EditDecisionDAO::transferEditorDecisions (   $oldUserId,
  $newUserId 
)

Transfer the decisions for an editor.

Parameters
$oldUserIdint
$newUserIdint

Definition at line 110 of file EditDecisionDAO.inc.php.

References DAO\update().

EditDecisionDAO::updateEditorDecision (   $submissionId,
  $editorDecision,
  $stageId = null,
  $reviewRound = null 
)

Update the editor decision table.

Parameters
$submissionIdint
$editorDecisionarray
$reviewRoundReviewRound (optional)

Definition at line 34 of file EditDecisionDAO.inc.php.

References DAO\datetimeToDB(), and DAO\update().


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