Open Journal Systems  2.4.4
 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 ()
 
 requireSSL ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Public Attributes

 $submission
 
 $user
 

Detailed Description

Handle requests for reviewer functions.

Definition at line 19 of file ReviewerHandler.inc.php.

Member Function Documentation

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

Constructor

Definition at line 29 of file ReviewerHandler.inc.php.

References PKPHandler\addCheck().

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

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

Parameters
$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
Returns
object Valid user object if the key was valid; otherwise NULL.

Definition at line 102 of file ReviewerHandler.inc.php.

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

Referenced by validate().

Member Data Documentation

ReviewerHandler::$user

user associated with the request

Definition at line 21 of file ReviewerHandler.inc.php.

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


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