Open Journal Systems  3.3.0
AssignToIssueHandler Class Reference
Inheritance diagram for AssignToIssueHandler:
Handler PKPHandler

Public Member Functions

 __construct ()
 
 assign ($args, $request)
 
 authorize ($request, &$args, $roleAssignments)
 
 initialize ($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)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Data Fields

 $publication
 
 $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
 

Detailed Description

A handler to assign a publication to an issue before scheduling for publication.

Definition at line 20 of file AssignToIssueHandler.inc.php.

Constructor & Destructor Documentation

◆ __construct()

AssignToIssueHandler::__construct ( )

Constructor.

Reimplemented from PKPHandler.

Definition at line 37 of file AssignToIssueHandler.inc.php.

References PKPHandler\addRoleAssignment().

Member Function Documentation

◆ assign()

AssignToIssueHandler::assign (   $args,
  $request 
)

Display a form to assign an issue to a publication

Parameters
$argsarray
$requestPKPRequest
Returns
JSONMessage JSON object

Definition at line 81 of file AssignToIssueHandler.inc.php.

References PKPServices\get(), PKPTemplateManager\getManager(), and AppLocale\requireComponents().

◆ authorize()

AssignToIssueHandler::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.
Returns
boolean

Reimplemented from PKPHandler.

Definition at line 62 of file AssignToIssueHandler.inc.php.

References PKPHandler\addPolicy().

◆ initialize()

AssignToIssueHandler::initialize (   $request)

Subclasses can override this method to configure the handler.

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

Parameters
$requestPKPRequest

Reimplemented from PKPHandler.

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

References PKPHandler\getAuthorizedContextObject(), and PKPHandler\setupTemplate().

Field Documentation

◆ $publication

Publication AssignToIssueHandler::$publication

Definition at line 32 of file AssignToIssueHandler.inc.php.

◆ $submission

Submission AssignToIssueHandler::$submission

Definition at line 26 of file AssignToIssueHandler.inc.php.


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