Open Journal Systems
3.3.0
|
Public Member Functions | |
authorize ($request, &$args, $roleAssignments) | |
index ($args, $request) | |
view ($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) | |
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 | |
Definition at line 18 of file AnnouncementHandler.inc.php.
AnnouncementHandler::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 26 of file AnnouncementHandler.inc.php.
References PKPHandler\addPolicy().
AnnouncementHandler::index | ( | $args, | |
$request | |||
) |
Show public announcements page.
$args | array |
$request | PKPRequest |
Reimplemented from PKPHandler.
Definition at line 43 of file AnnouncementHandler.inc.php.
References DAORegistry\getDAO(), PKPTemplateManager\getManager(), and PKPHandler\setupTemplate().
AnnouncementHandler::view | ( | $args, | |
$request | |||
) |
View announcement details.
$args | array first parameter is the ID of the announcement to display |
$request | PKPRequest |
Definition at line 72 of file AnnouncementHandler.inc.php.
References Application\getContextAssocType(), DAORegistry\getDAO(), PKPTemplateManager\getManager(), PKPHandler\setupTemplate(), and PKPHandler\validate().