Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPAuthorDashboardHandler Class Reference
Inheritance diagram for PKPAuthorDashboardHandler:
Handler PKPHandler AuthorDashboardHandler AuthorDashboardReviewRoundTabHandler

Public Member Functions

 PKPAuthorDashboardHandler ()
 
 readSubmissionEmail ($args, $request)
 
 setupTemplate ($request)
 
 submission ($args, $request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Protected Member Functions

 _fileStageFromWorkflowStage ($currentStage)
 
 _getAssignmentRoles ()
 
 _getLastReviewRoundNumbers ($submission)
 
 _getNotificationRequestOptions ($submission)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle requests for the author dashboard.

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

Member Function Documentation

PKPAuthorDashboardHandler::_fileStageFromWorkflowStage (   $currentStage)
protected

Get the SUBMISSION_FILE_... file stage based on the current WORKFLOW_STAGE_... workflow stage.

Parameters
$currentStageint WORKFLOW_STAGE_...
Returns
int SUBMISSION_FILE_...

Definition at line 155 of file PKPAuthorDashboardHandler.inc.php.

Referenced by submission().

PKPAuthorDashboardHandler::_getAssignmentRoles ( )
protected

Get roles to assign to operations in this handler.

Returns
array

Definition at line 145 of file PKPAuthorDashboardHandler.inc.php.

Referenced by AuthorDashboardReviewRoundTabHandler\AuthorDashboardReviewRoundTabHandler(), and PKPAuthorDashboardHandler().

PKPAuthorDashboardHandler::_getLastReviewRoundNumbers (   $submission)
protected

Get the last review round numbers in an array by stage name.

Parameters
$submissionSubmission
Returns
array(stageName => lastReviewRoundNumber, 0 iff none)

Definition at line 173 of file PKPAuthorDashboardHandler.inc.php.

References DAORegistry\getDAO().

Referenced by submission().

PKPAuthorDashboardHandler::_getNotificationRequestOptions (   $submission)
protected

Get the notification request options.

Parameters
$submissionSubmission
Returns
array

Definition at line 191 of file PKPAuthorDashboardHandler.inc.php.

Referenced by submission().

PKPAuthorDashboardHandler::PKPAuthorDashboardHandler ( )

Constructor

Definition at line 24 of file PKPAuthorDashboardHandler.inc.php.

References _getAssignmentRoles(), and PKPHandler\addRoleAssignment().

PKPAuthorDashboardHandler::readSubmissionEmail (   $args,
  $request 
)

Fetches information about a specific email and returns it.

Parameters
$argsarray
$requestRequest
Returns
string

Definition at line 108 of file PKPAuthorDashboardHandler.inc.php.

References PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().

PKPAuthorDashboardHandler::setupTemplate (   $request)

Setup common template variables.

Definition at line 131 of file PKPAuthorDashboardHandler.inc.php.

References AppLocale\requireComponents().

Referenced by AuthorDashboardReviewRoundTabHandler\fetchReviewRoundInfo(), and submission().

PKPAuthorDashboardHandler::submission (   $args,
  $request 
)

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