Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SignoffInformationCenterHandler Class Reference
Inheritance diagram for SignoffInformationCenterHandler:
Handler PKPHandler

Public Member Functions

 _getLinkParams ()
 
 authorize ($request, &$args, $roleAssignments)
 
 fetchNotesForm ($args, $request)
 
 getUserSignoffs ($args, $request)
 
 initialize ($request, $args=null)
 
 listNotes ($args, $request)
 
 saveNote ($args, $request)
 
 SignoffInformationCenterHandler ()
 
 uploadFile ($args, $request)
 
 viewNotes ($args, $request)
 
 viewSignoffHistory ($args, $request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 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())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle requests to view the information center for a file.

Definition at line 19 of file SignoffInformationCenterHandler.inc.php.

Member Function Documentation

SignoffInformationCenterHandler::_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).

Returns
array

Definition at line 268 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::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.

Parameters
$requestRequest
$argsarray request arguments
$roleAssignmentsarray the operation role assignment, see getRoleAssignment() for more details.
$enforceRestrictedSiteboolean True iff site restrictions are to be enforced
Returns
boolean

Definition at line 63 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::fetchNotesForm (   $args,
  $request 
)

Fetch the signoff notes form.

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 157 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::getUserSignoffs (   $args,
  $request 
)

Get the available signoffs associated with the user in request.

Parameters
$args
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 125 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::initialize (   $request,
  $args = null 
)

Subclasses can override this method to configure the handler.

NB: This method will be called after validation and authorization.

Parameters
$requestPKPRequest
$argsarray

Definition at line 52 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::listNotes (   $args,
  $request 
)

List signoff notes.

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 198 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::saveNote (   $args,
  $request 
)

Save a signoff note.

Parameters
$argsarray
$requestPKPRequest

Definition at line 173 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::SignoffInformationCenterHandler ( )

Constructor

Definition at line 35 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::uploadFile (   $args,
  $request 
)

Upload a file and render the modified upload wizard.

Parameters
$argsarray
$requestRequest
Returns
string a serialized JSON object

Definition at line 240 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::viewNotes (   $args,
  $request 
)

Fetch the signoff notes modal content.

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 107 of file SignoffInformationCenterHandler.inc.php.

SignoffInformationCenterHandler::viewSignoffHistory (   $args,
  $request 
)

Display a modal containing history for the signoff.

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 92 of file SignoffInformationCenterHandler.inc.php.


The documentation for this class was generated from the following file: