|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| _addNotificationsToArray ($resultFactory, $notificationArray) | |
| _getNotificationsByOptions ($notificationOptions, $contextId, $userId=null) | |
| fetchNotification ($args, $request) | |
| setupTemplate ($request) | |
Public Member Functions inherited from PKPHandler | |
| __construct () | |
| addPolicy ($authorizationPolicy, $addToTop=false) | |
| addRoleAssignment ($roleIds, $operations) | |
| authorize ($request, &$args, $roleAssignments) | |
| 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) | |
| validate ($requiredContexts=null, $request=null) | |
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 | |
Handle requests for viewing notifications.
Definition at line 19 of file NotificationHandler.inc.php.
| NotificationHandler::_addNotificationsToArray | ( | $resultFactory, | |
| $notificationArray | |||
| ) |
Add notifications from a result factory to an array of existing notifications.
| $resultFactory | DAOResultFactory |
| $notificationArray | Array |
Definition at line 115 of file NotificationHandler.inc.php.
Referenced by _getNotificationsByOptions().
| NotificationHandler::_getNotificationsByOptions | ( | $notificationOptions, | |
| $contextId, | |||
$userId = null |
|||
| ) |
Get the notifications using options.
| $notificationOptions | Array |
| $contextId | int |
| $userId | int |
Definition at line 78 of file NotificationHandler.inc.php.
References _addNotificationsToArray(), and DAORegistry\getDAO().
Referenced by fetchNotification().
| NotificationHandler::fetchNotification | ( | $args, | |
| $request | |||
| ) |
Return formatted notification data using Json.
| $args | array |
| $request | Request |
Definition at line 27 of file NotificationHandler.inc.php.
References _getNotificationsByOptions(), DAORegistry\getDAO(), and setupTemplate().
| NotificationHandler::setupTemplate | ( | $request | ) |
Override setupTemplate() so we can load other locale components. Set up the basic template.
| $request | PKPRequest |
Reimplemented from PKPHandler.
Definition at line 127 of file NotificationHandler.inc.php.
References AppLocale\requireComponents().
Referenced by fetchNotification().