Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
authorize ($request, &$args, $roleAssignments) | |
fetchTab ($args, $request) | |
![]() | |
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 | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
![]() | |
$_authorizationDecisionManager | |
$_checks = array() | |
$_dispatcher | |
$_enforceRestrictedSite = true | |
$_id | |
$_isBackendPage = false | |
$_roleAssignments = array() | |
$_roleAssignmentsChecked = false | |
![]() | |
$_apiToken = null | |
Handle AJAX operations for authorDashboard tabs.
Definition at line 20 of file AuthorDashboardTabHandler.inc.php.
AuthorDashboardTabHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPHandler.
Definition at line 25 of file AuthorDashboardTabHandler.inc.php.
References PKPHandler\addRoleAssignment().
|
protected |
Get the last review round numbers in an array by stage name.
$submission | Submission |
$stageId | int WORKFLOW_STAGE_ID_... |
Definition at line 122 of file AuthorDashboardTabHandler.inc.php.
References DAORegistry\getDAO().
Referenced by fetchTab().
|
protected |
Get the notification request options.
$submission | Submission |
Definition at line 136 of file AuthorDashboardTabHandler.inc.php.
Referenced by fetchTab().
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.
$request | Request |
$args | array request arguments |
$roleAssignments | array the operation role assignment, see getRoleAssignment() for more details. |
Reimplemented from PKPHandler.
Definition at line 37 of file AuthorDashboardTabHandler.inc.php.
References PKPHandler\addPolicy().
AuthorDashboardTabHandler::fetchTab | ( | $args, | |
$request | |||
) |
Fetch the specified authorDashboard tab.
$args | array |
$request | Request |
Definition at line 54 of file AuthorDashboardTabHandler.inc.php.
References _getLastReviewRoundNumber(), _getNotificationRequestOptions(), PKPHandler\getAuthorizedContextObject(), DAORegistry\getDAO(), PKPTemplateManager\getManager(), AppLocale\requireComponents(), and PKPHandler\setupTemplate().