Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
_getAssocId () | |
_getAssocType () | |
_getLinkParams () | |
_listPastNotes ($args, $request) | |
authorize ($request, &$args, $roleAssignments) | |
initialize ($request) | |
saveNote ($args, $request) | |
setupTemplate ($request) | |
viewHistory ($args, $request) | |
viewInformationCenter ($args, $request) | |
viewNotes ($args, $request) | |
![]() | |
_listNotes ($args, $request) | |
_logEvent ($request, $object, $eventType, $logClass) | |
deleteNote ($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) | |
validate ($requiredContexts=null, $request=null) | |
Data Fields | |
$_stageId | |
$submissionFile | |
![]() | |
$_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 | |
Handle requests to view the information center for a file.
Definition at line 20 of file FileInformationCenterHandler.inc.php.
FileInformationCenterHandler::__construct | ( | ) |
Constructor
Reimplemented from InformationCenterHandler.
Definition at line 36 of file FileInformationCenterHandler.inc.php.
References PKPHandler\addRoleAssignment().
FileInformationCenterHandler::_getAssocId | ( | ) |
Get the association ID for this information center view
Reimplemented from InformationCenterHandler.
Definition at line 218 of file FileInformationCenterHandler.inc.php.
FileInformationCenterHandler::_getAssocType | ( | ) |
Get the association type for this information center view
Reimplemented from InformationCenterHandler.
Definition at line 226 of file FileInformationCenterHandler.inc.php.
Referenced by _listPastNotes().
FileInformationCenterHandler::_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 from InformationCenterHandler.
Definition at line 204 of file FileInformationCenterHandler.inc.php.
FileInformationCenterHandler::_listPastNotes | ( | $args, | |
$request | |||
) |
Display the list of existing notes from prior files.
$args | array |
$request | PKPRequest |
Definition at line 118 of file FileInformationCenterHandler.inc.php.
References $submissionFile, _getAssocType(), DAORegistry\getDAO(), PKPTemplateManager\getManager(), and setupTemplate().
Referenced by viewNotes().
FileInformationCenterHandler::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 InformationCenterHandler.
Definition at line 51 of file FileInformationCenterHandler.inc.php.
References PKPHandler\addPolicy().
FileInformationCenterHandler::initialize | ( | $request | ) |
Fetch and store away objects
$request | PKPRequest |
Reimplemented from InformationCenterHandler.
Definition at line 62 of file FileInformationCenterHandler.inc.php.
References fatalError(), PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().
FileInformationCenterHandler::saveNote | ( | $args, | |
$request | |||
) |
Save a note.
$args | array |
$request | PKPRequest |
Reimplemented from InformationCenterHandler.
Definition at line 153 of file FileInformationCenterHandler.inc.php.
References InformationCenterHandler\_logEvent(), PKPNotificationOperationManager\createTrivialNotification(), setupTemplate(), and viewNotes().
FileInformationCenterHandler::setupTemplate | ( | $request | ) |
Set up the template
$request | PKPRequest |
Reimplemented from InformationCenterHandler.
Definition at line 234 of file FileInformationCenterHandler.inc.php.
References DAORegistry\getDAO(), and PKPTemplateManager\getManager().
Referenced by _listPastNotes(), saveNote(), viewHistory(), viewInformationCenter(), and viewNotes().
FileInformationCenterHandler::viewHistory | ( | $args, | |
$request | |||
) |
Fetch the contents of the event log.
$args | array |
$request | PKPRequest |
Definition at line 188 of file FileInformationCenterHandler.inc.php.
References PKPTemplateManager\getManager(), and setupTemplate().
FileInformationCenterHandler::viewInformationCenter | ( | $args, | |
$request | |||
) |
Display the main information center modal.
$args | array |
$request | PKPRequest |
Reimplemented from InformationCenterHandler.
Definition at line 79 of file FileInformationCenterHandler.inc.php.
References PKPTemplateManager\getManager(), and setupTemplate().
FileInformationCenterHandler::viewNotes | ( | $args, | |
$request | |||
) |
Display the notes tab.
$args | array |
$request | PKPRequest |
Reimplemented from InformationCenterHandler.
Definition at line 98 of file FileInformationCenterHandler.inc.php.
References InformationCenterHandler\_listNotes(), _listPastNotes(), PKPTemplateManager\getManager(), and setupTemplate().
Referenced by saveNote().
int FileInformationCenterHandler::$_stageId |
Definition at line 31 of file FileInformationCenterHandler.inc.php.
object FileInformationCenterHandler::$submissionFile |
Definition at line 25 of file FileInformationCenterHandler.inc.php.
Referenced by _listPastNotes().