Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ReviewerHandler Class Reference
Inheritance diagram for ReviewerHandler:
Handler PKPHandler SubmissionCommentsHandler SubmissionReviewHandler

Public Member Functions

 index ($args, $request)
 ReviewerHandler ()
 setupTemplate ($subclass=false, $articleId=0, $reviewId=0)
 validate ($request, $reviewId=null)
validateAccessKey ($request, $userId, $reviewId, $newKey=null)
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 addPolicy (&$authorizationPolicy, $addToTop=false)
 addRoleAssignment ($roleIds, $operations)
 authorize (&$request, &$args, $roleAssignments)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
getDispatcher ()
 getId ()
 getLastAuthorizationMessage ()
 getLoginExemptions ()
getRangeInfo ($rangeName, $contextData=null)
 getRoleAssignment ($roleId)
 getRoleAssignments ()
 hashPageContext ($contextData=array())
 index ()
 initialize (&$request, $args=null)
 PKPHandler ()
 setDispatcher (&$dispatcher)
 setId ($id)
 validate ($requiredContexts=null, $request=null)

Public Attributes


Detailed Description

Handle requests for reviewer functions.

Definition at line 19 of file

Member Function Documentation

ReviewerHandler::index (   $args,
ReviewerHandler::ReviewerHandler ( )


Definition at line 29 of file

References PKPHandler\addCheck().

ReviewerHandler::setupTemplate (   $subclass = false,
  $articleId = 0,
  $reviewId = 0 
& ReviewerHandler::validateAccessKey (   $request,
  $newKey = null 

Used by subclasses to validate access keys when they are allowed.

$userIdint The user this key refers to
$reviewIdint The ID of the review this key refers to
$newKeystring The new key name, if one was supplied; otherwise, the existing one (if it exists) is used
object Valid user object if the key was valid; otherwise NULL.

Definition at line 102 of file

References $user, DAORegistry\getDAO(), Validation\isLoggedIn(), and Validation\logout().

Referenced by validate().

Member Data Documentation


user associated with the request

Definition at line 21 of file

Referenced by index(), SubmissionReviewHandler\submission(), validate(), and validateAccessKey().

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