Open Journal Systems  3.3.0
AuthorDashboardTabHandler Class Reference
Inheritance diagram for AuthorDashboardTabHandler:
Handler PKPHandler

Public Member Functions

 __construct ()
 
 authorize ($request, &$args, $roleAssignments)
 
 fetchTab ($args, $request)
 
- Public Member Functions inherited from PKPHandler
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 getApiToken ()
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, &$contextsCount=null)
 
 index ($args, $request)
 
 initialize ($request)
 
 markRoleAssignmentsChecked ()
 
 requireSSL ()
 
 setApiToken ($apiToken)
 
 setDispatcher ($dispatcher)
 
 setEnforceRestrictedSite ($enforceRestrictedSite)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Protected Member Functions

 _getLastReviewRoundNumber ($submission, $stageId)
 
 _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())
 
- Data Fields inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_enforceRestrictedSite = true
 
 $_id
 
 $_isBackendPage = false
 
 $_roleAssignments = array()
 
 $_roleAssignmentsChecked = false
 
- Protected Attributes inherited from PKPHandler
 $_apiToken = null
 

Detailed Description

Handle AJAX operations for authorDashboard tabs.

Definition at line 20 of file AuthorDashboardTabHandler.inc.php.

Constructor & Destructor Documentation

◆ __construct()

AuthorDashboardTabHandler::__construct ( )

Constructor

Reimplemented from PKPHandler.

Definition at line 25 of file AuthorDashboardTabHandler.inc.php.

References PKPHandler\addRoleAssignment().

Member Function Documentation

◆ _getLastReviewRoundNumber()

AuthorDashboardTabHandler::_getLastReviewRoundNumber (   $submission,
  $stageId 
)
protected

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

Parameters
$submissionSubmission
$stageIdint WORKFLOW_STAGE_ID_...
Returns
int Round number, 0 if none.

Definition at line 122 of file AuthorDashboardTabHandler.inc.php.

References DAORegistry\getDAO().

Referenced by fetchTab().

◆ _getNotificationRequestOptions()

AuthorDashboardTabHandler::_getNotificationRequestOptions (   $submission)
protected

Get the notification request options.

Parameters
$submissionSubmission
Returns
array

Definition at line 136 of file AuthorDashboardTabHandler.inc.php.

Referenced by fetchTab().

◆ authorize()

AuthorDashboardTabHandler::authorize (   $request,
$args,
  $roleAssignments 
)

Authorize this request.

Routers will call this method automatically thereby enforcing authorization. This method will be called before the validate() method and before passing control on to the handler operation.

NB: This method will be called once for every request only.

Parameters
$requestRequest
$argsarray request arguments
$roleAssignmentsarray the operation role assignment, see getRoleAssignment() for more details.
Returns
boolean

Reimplemented from PKPHandler.

Definition at line 37 of file AuthorDashboardTabHandler.inc.php.

References PKPHandler\addPolicy().

◆ fetchTab()

AuthorDashboardTabHandler::fetchTab (   $args,
  $request 
)

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