Open Journal Systems
3.3.0
|
Public Member Functions | |
authorize ($request, &$args, $roleAssignments) | |
deposits ($args, $request) | |
index ($args, $request) | |
status ($args, $request) | |
![]() | |
__construct () | |
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) | |
initialize ($request) | |
markRoleAssignmentsChecked () | |
requireSSL () | |
setApiToken ($apiToken) | |
setDispatcher ($dispatcher) | |
setEnforceRestrictedSite ($enforceRestrictedSite) | |
setId ($id) | |
setupTemplate ($request) | |
validate ($requiredContexts=null, $request=null) | |
Protected Member Functions | |
_getPlugin () | |
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 PLN requests.
Definition at line 15 of file PLNHandler.inc.php.
|
protected |
Get the Usage Stats plugin object
Definition at line 97 of file PLNHandler.inc.php.
References PluginRegistry\getPlugin().
PLNHandler::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 28 of file PLNHandler.inc.php.
References PKPHandler\addPolicy().
PLNHandler::deposits | ( | $args, | |
$request | |||
) |
Provide an endpoint for the PLN staging server to retrieve a deposit
array | $args | |
Request | $request |
Definition at line 42 of file PLNHandler.inc.php.
References DAORegistry\getDAO(), and PKPString\mime_content_type().
PLNHandler::index | ( | $args, | |
$request | |||
) |
Index handler: redirect to journal page.
$args | array |
$request | PKPRequest |
Reimplemented from PKPHandler.
Definition at line 21 of file PLNHandler.inc.php.
PLNHandler::status | ( | $args, | |
$request | |||
) |
Display status of deposit(s)
array | $args | |
Request | $request |
Definition at line 82 of file PLNHandler.inc.php.
References PKPTemplateManager\getManager(), and PluginRegistry\getPlugin().