Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ReviewerAction Class Reference
Inheritance diagram for ReviewerAction:
Action PKPAction

Public Member Functions

 confirmReview ($reviewerSubmission, $decline, $send, $request)
 
 deleteReviewerVersion ($reviewId, $fileId, $revision=null)
 
 downloadReviewerFile ($reviewId, $article, $fileId, $revision=null)
 
 editComment ($article, $comment, $reviewId)
 
 editReviewFormResponse ($reviewId, $reviewFormId)
 
 postPeerReviewComment (&$user, &$article, $reviewId, $emailComment, $request)
 
 recordRecommendation (&$reviewerSubmission, $recommendation, $send, $request)
 
 ReviewerAction ()
 
 saveReviewFormResponse ($reviewId, $reviewFormId, $request)
 
 uploadReviewerVersion ($reviewId, $reviewerSubmission, $request)
 
 viewPeerReviewComments (&$user, &$article, $reviewId)
 
- Public Member Functions inherited from Action
 Action ()
 
 deleteComment ($commentId, $user=null)
 
 downloadFile ($articleId, $fileId, $revision=null)
 
 editComment ($article, $comment)
 
 instructions ($type, $allowed=array('copy', 'layout', 'proof', 'referenceLinking'))
 
 saveComment ($article, &$comment, $emailComment, $request)
 
 saveMetadata ($article, &$request)
 
 viewFile ($articleId, $fileId, $revision=null)
 
 viewMetadata ($article, $journal)
 
- Public Member Functions inherited from PKPAction
 editCitations (&$request, &$submission)
 
 PKPAction ()
 

Detailed Description

ReviewerAction class.

Definition at line 18 of file ReviewerAction.inc.php.

Member Function Documentation

ReviewerAction::confirmReview (   $reviewerSubmission,
  $decline,
  $send,
  $request 
)

Actions. Records whether or not the reviewer accepts the review assignment.

Parameters
$userobject
$reviewerSubmissionobject
$declineboolean
$sendboolean
$requestobject

Definition at line 38 of file ReviewerAction.inc.php.

References HookRegistry\call(), Core\getCurrentDate(), DAORegistry\getDAO(), Config\getVar(), and ArticleLog\logEvent().

Referenced by SubmissionReviewHandler\confirmReview().

ReviewerAction::deleteReviewerVersion (   $reviewId,
  $fileId,
  $revision = null 
)

Delete an annotated version of an article.

Parameters
$reviewIdint
$fileIdint
$revisionint If null, then all revisions are deleted.

Definition at line 231 of file ReviewerAction.inc.php.

References HookRegistry\call(), ArticleFileManager\deleteFile(), DAORegistry\getDAO(), and PKPRequest\getUserVar().

Referenced by SubmissionReviewHandler\deleteReviewerVersion().

ReviewerAction::downloadReviewerFile (   $reviewId,
  $article,
  $fileId,
  $revision = null 
)

Download a file a reviewer has access to.

Parameters
$reviewIdint
$articleobject
$fileIdint
$revisionint

Definition at line 369 of file ReviewerAction.inc.php.

References HookRegistry\call(), Action\downloadFile(), DAORegistry\getDAO(), and Request\getJournal().

Referenced by SubmissionReviewHandler\downloadFile().

ReviewerAction::editComment (   $article,
  $comment,
  $reviewId 
)

Edit comment.

Parameters
$commentIdint

Definition at line 411 of file ReviewerAction.inc.php.

References HookRegistry\call().

Referenced by SubmissionCommentsHandler\editComment().

ReviewerAction::editReviewFormResponse (   $reviewId,
  $reviewFormId 
)

Edit review form response.

Parameters
$reviewIdint
$reviewFormIdint

Definition at line 309 of file ReviewerAction.inc.php.

References HookRegistry\call().

Referenced by SubmissionReviewHandler\editReviewFormResponse().

ReviewerAction::postPeerReviewComment ( $user,
$article,
  $reviewId,
  $emailComment,
  $request 
)

Post reviewer comments.

Parameters
$userobject Current user
$articleobject
$reviewIdint
$emailCommentboolean
$requestRequest

Definition at line 270 of file ReviewerAction.inc.php.

References HookRegistry\call().

Referenced by SubmissionCommentsHandler\postPeerReviewComment().

ReviewerAction::recordRecommendation ( $reviewerSubmission,
  $recommendation,
  $send,
  $request 
)

Records the reviewer's submission recommendation.

Parameters
$reviewIdint
$recommendationint
$sendboolean
$requestobject

Definition at line 116 of file ReviewerAction.inc.php.

References HookRegistry\call(), Core\getCurrentDate(), DAORegistry\getDAO(), Request\getJournal(), ReviewAssignment\getReviewerRecommendationOptions(), and ArticleLog\logEvent().

Referenced by SubmissionReviewHandler\recordRecommendation().

ReviewerAction::ReviewerAction ( )

Constructor.

Definition at line 23 of file ReviewerAction.inc.php.

ReviewerAction::saveReviewFormResponse (   $reviewId,
  $reviewFormId,
  $request 
)

Save review form response.

Parameters
$reviewIdint
$reviewFormIdint
$requestRequest

Definition at line 325 of file ReviewerAction.inc.php.

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

Referenced by SubmissionReviewHandler\saveReviewFormResponse().

ReviewerAction::uploadReviewerVersion (   $reviewId,
  $reviewerSubmission,
  $request 
)

Upload the annotated version of an article.

Parameters
$reviewIdint
$reviewerSubmissionobject
$requestobject

Definition at line 190 of file ReviewerAction.inc.php.

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

Referenced by SubmissionReviewHandler\uploadReviewerVersion().

ReviewerAction::viewPeerReviewComments ( $user,
$article,
  $reviewId 
)

View reviewer comments.

Parameters
$userobject Current user
$articleobject
$reviewIdint

Definition at line 250 of file ReviewerAction.inc.php.

References HookRegistry\call().

Referenced by SubmissionCommentsHandler\postPeerReviewComment(), and SubmissionCommentsHandler\viewPeerReviewComments().


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