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

Public Member Functions

 _fromRow ($row)
 
 getReviewerSubmission ($reviewId)
 
 getReviewerSubmissionsByReviewerId ($reviewerId, $pressId=null, $active=true, $skipDeclined=true, $rangeInfo=null, $sortBy=null, $sortDirection=SORT_DIRECTION_ASC)
 
 getSortMapping ($heading)
 
 getSubmissionsCount ($reviewerId, $pressId)
 
 newDataObject ()
 
 ReviewerSubmissionDAO ()
 
 updateReviewerSubmission ($reviewerSubmission)
 
- Public Member Functions inherited from MonographDAO
 _fromRow ($row)
 
 addCategory ($monographId, $categoryId)
 
 categoryAssociationExists ($monographId, $categoryId)
 
 deleteById ($monographId)
 
 getByPressId ($pressId)
 
 getBySubEditorId ($contextId=null, $subEditorId=null, $includeDeclined=true, $includePublished=true, $rangeInfo=null)
 
 getCategories ($monographId, $pressId=null)
 
 getLocaleFieldNames ()
 
 getUnassignedCategories ($monographId, $pressId=null)
 
 getUnpublishedMonographsByPressId ($pressId)
 
 insertObject ($monograph)
 
 MonographDAO ()
 
 newDataObject ()
 
 removeCategories ($monographId)
 
 removeCategory ($monographId, $categoryId)
 
 removeMonographsFromSeries ($seriesId)
 
 updateObject ($monograph)
 

Additional Inherited Members

- Protected Member Functions inherited from MonographDAO
 _getFetchColumns ()
 
 _getFetchJoins ()
 
 _getFetchParameters ()
 

Detailed Description

Operations for retrieving and modifying ReviewerSubmission objects.

See Also
ReviewerSubmission

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

Member Function Documentation

ReviewerSubmissionDAO::_fromRow (   $row)

Internal function to return a ReviewerSubmission object from a row.

Parameters
$rowarray
Returns
ReviewerSubmission

Definition at line 95 of file ReviewerSubmissionDAO.inc.php.

References HookRegistry\call(), and DAORegistry\getDAO().

Referenced by getReviewerSubmission().

ReviewerSubmissionDAO::getReviewerSubmission (   $reviewId)

Retrieve a reviewer submission by monograph ID.

Parameters
$monographIdint
$reviewerIdint
Returns
ReviewerSubmission

Definition at line 45 of file ReviewerSubmissionDAO.inc.php.

References _fromRow(), AppLocale\getLocale(), and AppLocale\getPrimaryLocale().

ReviewerSubmissionDAO::getReviewerSubmissionsByReviewerId (   $reviewerId,
  $pressId = null,
  $active = true,
  $skipDeclined = true,
  $rangeInfo = null,
  $sortBy = null,
  $sortDirection = SORT_DIRECTION_ASC 
)

Get all submissions for a reviewer of a press.

Parameters
$reviewerIdint
$pressIdint
$rangeInfoobject
Returns
array ReviewerSubmissions

Definition at line 189 of file ReviewerSubmissionDAO.inc.php.

References AppLocale\getLocale(), and AppLocale\getPrimaryLocale().

ReviewerSubmissionDAO::getSortMapping (   $heading)

Map a column heading value to a database value for sorting

Parameters
string
Returns
string

Definition at line 281 of file ReviewerSubmissionDAO.inc.php.

ReviewerSubmissionDAO::getSubmissionsCount (   $reviewerId,
  $pressId 
)

Get count of active and complete assignments

Parameters
reviewerIdint
pressIdint
Returns
array(int active, int complete)

Definition at line 245 of file ReviewerSubmissionDAO.inc.php.

ReviewerSubmissionDAO::newDataObject ( )

Construct a new data object corresponding to this DAO.

Returns
SignoffEntry

Definition at line 86 of file ReviewerSubmissionDAO.inc.php.

ReviewerSubmissionDAO::ReviewerSubmissionDAO ( )

Constructor.

Definition at line 30 of file ReviewerSubmissionDAO.inc.php.

References DAORegistry\getDAO().

ReviewerSubmissionDAO::updateReviewerSubmission (   $reviewerSubmission)

Update an existing review submission.

Parameters
$reviewSubmissionReviewSubmission

Definition at line 134 of file ReviewerSubmissionDAO.inc.php.


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