Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
_getAssocId () | |
_getAssocType () | |
_getLinkParams () | |
_listNotes ($args, $request) | |
_logEvent ($request, $object, $eventType, $logClass) | |
authorize ($request, &$args, $roleAssignments) | |
deleteNote ($args, $request) | |
initialize ($request) | |
saveNote ($args, $request) | |
setupTemplate ($request) | |
viewInformationCenter ($args, $request) | |
viewNotes ($args, $request) | |
Public Member Functions inherited from PKPHandler | |
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) | |
validate ($requiredContexts=null, $request=null) | |
Data Fields | |
$_submission | |
Data Fields inherited from PKPHandler | |
$_authorizationDecisionManager | |
$_checks = array() | |
$_dispatcher | |
$_enforceRestrictedSite = true | |
$_id | |
$_isBackendPage = false | |
$_roleAssignments = array() | |
$_roleAssignmentsChecked = false | |
Additional Inherited Members | |
Static Public Member Functions inherited from PKPHandler | |
static | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
Protected Attributes inherited from PKPHandler | |
$_apiToken = null | |
Parent class for file/submission information center handlers.
Definition at line 20 of file InformationCenterHandler.inc.php.
InformationCenterHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPHandler.
Reimplemented in FileInformationCenterHandler.
Definition at line 30 of file InformationCenterHandler.inc.php.
References PKPHandler\addRoleAssignment().
|
abstract |
Get the association ID for this information center view
Reimplemented in FileInformationCenterHandler, and SubmissionInformationCenterHandler.
|
abstract |
Get the association type for this information center view
Reimplemented in FileInformationCenterHandler, and SubmissionInformationCenterHandler.
InformationCenterHandler::_getLinkParams | ( | ) |
Get an array representing link parameters that subclasses need to have passed to their various handlers (i.e. submission ID to the delete note handler).
Reimplemented in FileInformationCenterHandler.
Definition at line 152 of file InformationCenterHandler.inc.php.
Referenced by setupTemplate(), and SubmissionInformationCenterHandler\viewHistory().
InformationCenterHandler::_listNotes | ( | $args, | |
$request | |||
) |
Display the list of existing notes.
$args | array |
$request | PKPRequest |
Definition at line 130 of file InformationCenterHandler.inc.php.
References DAORegistry\getDAO(), PKPTemplateManager\getManager(), and setupTemplate().
Referenced by SubmissionInformationCenterHandler\viewNotes(), and FileInformationCenterHandler\viewNotes().
InformationCenterHandler::_logEvent | ( | $request, | |
$object, | |||
$eventType, | |||
$logClass | |||
) |
Log an event for this file or submission
$request | PKPRequest |
$object | Submission or SubmissionFile |
$eventType | int SUBMISSION_LOG_... |
$logClass | SubmissionLog or SubmissionFileLog |
Definition at line 165 of file InformationCenterHandler.inc.php.
Referenced by SubmissionInformationCenterHandler\saveNote(), and FileInformationCenterHandler\saveNote().
InformationCenterHandler::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.
Reimplemented in FileInformationCenterHandler, and SubmissionInformationCenterHandler.
Definition at line 49 of file InformationCenterHandler.inc.php.
References PKPHandler\addPolicy().
InformationCenterHandler::deleteNote | ( | $args, | |
$request | |||
) |
Delete a note.
$args | array |
$request | PKPRequest |
Definition at line 103 of file InformationCenterHandler.inc.php.
References PKPNotificationOperationManager\createTrivialNotification(), fatalError(), DAORegistry\getDAO(), setupTemplate(), and viewNotes().
InformationCenterHandler::initialize | ( | $request | ) |
Fetch and store away objects
$request | PKPRequest |
Reimplemented from PKPHandler.
Reimplemented in FileInformationCenterHandler.
Definition at line 60 of file InformationCenterHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
|
abstract |
Save a note. Subclasses must implement.
$args | array |
$request | PKPRequest |
Reimplemented in FileInformationCenterHandler, and SubmissionInformationCenterHandler.
InformationCenterHandler::setupTemplate | ( | $request | ) |
Set up the basic template.
$request | PKPRequest |
Reimplemented from PKPHandler.
Reimplemented in FileInformationCenterHandler.
Definition at line 181 of file InformationCenterHandler.inc.php.
References _getLinkParams(), PKPTemplateManager\getManager(), and AppLocale\requireComponents().
Referenced by _listNotes(), deleteNote(), SubmissionInformationCenterHandler\saveNote(), SubmissionInformationCenterHandler\viewHistory(), viewInformationCenter(), and SubmissionInformationCenterHandler\viewNotes().
InformationCenterHandler::viewInformationCenter | ( | $args, | |
$request | |||
) |
Display the main information center modal.
$args | array |
$request | PKPRequest |
Reimplemented in FileInformationCenterHandler, and SubmissionInformationCenterHandler.
Definition at line 77 of file InformationCenterHandler.inc.php.
References PKPTemplateManager\getManager(), and setupTemplate().
|
abstract |
View a list of notes posted on the item. Subclasses must implement.
Reimplemented in FileInformationCenterHandler, and SubmissionInformationCenterHandler.
Referenced by deleteNote().
Submission InformationCenterHandler::$_submission |
Definition at line 25 of file InformationCenterHandler.inc.php.