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

Public Member Functions

 index ($args, &$request)
 
 instructions ($args, &$request)
 
 ProofreaderHandler ()
 
 setupTemplate ($subclass=false, $articleId=0, $parentPage=null, $showSidebar=true)
 
 validate (&$request, $articleId=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

 $submission
 

Detailed Description

Handle requests for proofreader functions.

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

Member Function Documentation

ProofreaderHandler::index (   $args,
$request 
)

Display proofreader index page.

Parameters
$argsarray
$requestPKPRequest

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

References DAORegistry\getDAO(), PKPHandler\getRangeInfo(), setupTemplate(), and validate().

ProofreaderHandler::instructions (   $args,
$request 
)

Display submission management instructions.

Parameters
$argsarray
$requetPKPRequest

Definition at line 137 of file ProofreaderHandler.inc.php.

References Action\instructions(), and setupTemplate().

ProofreaderHandler::ProofreaderHandler ( )

Constructor

Definition at line 26 of file ProofreaderHandler.inc.php.

References PKPHandler\addCheck().

ProofreaderHandler::setupTemplate (   $subclass = false,
  $articleId = 0,
  $parentPage = null,
  $showSidebar = true 
)

Setup common template variables.

Parameters
$subclassboolean set to true if caller is below this handler in the hierarchy

Definition at line 117 of file ProofreaderHandler.inc.php.

References AppLocale\requireComponents(), SectionEditorAction\submissionBreadcrumb(), and Request\url().

Referenced by SubmissionProofreadHandler\completeProofreader(), index(), instructions(), SubmissionProofreadHandler\submission(), and SubmissionProofreadHandler\viewMetadata().

ProofreaderHandler::validate ( $request,
  $articleId = null 
)

Validate that the user is the assigned proofreader for the submission, if a submission ID is specified. Redirects to proofreader index page if validation fails.

Parameters
$articleIdint optional

Definition at line 150 of file ProofreaderHandler.inc.php.

References $submission, and DAORegistry\getDAO().

Referenced by SubmissionProofreadHandler\completeProofreader(), SubmissionProofreadHandler\downloadFile(), index(), SubmissionProofreadHandler\proofGalley(), SubmissionProofreadHandler\proofGalleyFile(), SubmissionProofreadHandler\proofGalleyTop(), SubmissionProofreadHandler\submission(), SubmissionProofreadHandler\viewFile(), and SubmissionProofreadHandler\viewMetadata().

Member Data Documentation

ProofreaderHandler::$submission

submission associated with the request

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

Referenced by validate().


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