Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
authorize ($request, &$args, $roleAssignments) | |
initialize ($request) | |
publish ($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) | |
markRoleAssignmentsChecked () | |
requireSSL () | |
setApiToken ($apiToken) | |
setDispatcher ($dispatcher) | |
setEnforceRestrictedSite ($enforceRestrictedSite) | |
setId ($id) | |
setupTemplate ($request) | |
validate ($requiredContexts=null, $request=null) | |
Data Fields | |
$publication | |
$submission | |
![]() | |
$_authorizationDecisionManager | |
$_checks = array() | |
$_dispatcher | |
$_enforceRestrictedSite = true | |
$_id | |
$_isBackendPage = false | |
$_roleAssignments = array() | |
$_roleAssignmentsChecked = false | |
Additional Inherited Members | |
![]() | |
static | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
![]() | |
$_apiToken = null | |
A handler to load final publishing confirmation checks.
Definition at line 19 of file PublishHandler.inc.php.
PublishHandler::__construct | ( | ) |
Constructor.
Reimplemented from PKPHandler.
Definition at line 36 of file PublishHandler.inc.php.
References PKPHandler\addRoleAssignment().
PublishHandler::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 61 of file PublishHandler.inc.php.
References PKPHandler\addPolicy().
PublishHandler::initialize | ( | $request | ) |
Subclasses can override this method to configure the handler.
NB: This method will be called after validation and authorization.
$request | PKPRequest |
Reimplemented from PKPHandler.
Definition at line 51 of file PublishHandler.inc.php.
References PKPHandler\getAuthorizedContextObject(), and PKPHandler\setupTemplate().
PublishHandler::publish | ( | $args, | |
$request | |||
) |
Display a publishing confirmation form
$args | array |
$request | PKPRequest |
Definition at line 80 of file PublishHandler.inc.php.
References PKPServices\get(), PKPTemplateManager\getManager(), and AppLocale\requireComponents().
Publication PublishHandler::$publication |
Definition at line 31 of file PublishHandler.inc.php.
Submission PublishHandler::$submission |
Definition at line 25 of file PublishHandler.inc.php.