Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionMetadataHandler Class Reference
Inheritance diagram for SubmissionMetadataHandler:
Handler PKPHandler AuthorSubmissionMetadataHandler PKPReviewerSubmissionMetadataHandler ProductionSubmissionMetadataHandler ReviewerSubmissionMetadataHandler

Public Member Functions

 fetch ($args, $request, $params=null)
 
 getFormInstance ($submissionId, $stageId=null, $params=null)
 
 initialize ($request)
 
 saveForm ($args, $request)
 
 SubmissionMetadataHandler ()
 
- 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

Base class for submission metadata view/edit operations.

Definition at line 21 of file SubmissionMetadataHandler.inc.php.

Member Function Documentation

SubmissionMetadataHandler::fetch (   $args,
  $request,
  $params = null 
)

Display the submission's metadata

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 50 of file SubmissionMetadataHandler.inc.php.

References PKPHandler\getAuthorizedContextObject(), getFormInstance(), JSONMessage\getString(), and AppLocale\requireComponents().

SubmissionMetadataHandler::getFormInstance (   $submissionId,
  $stageId = null,
  $params = null 
)

Get an instance of the metadata form to be used by this handler.

Parameters
$submissionIdint
Returns
Form

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

Referenced by fetch(), and saveForm().

SubmissionMetadataHandler::initialize (   $request)
SubmissionMetadataHandler::saveForm (   $args,
  $request 
)

Save the submission metadata form.

Parameters
$argsarray
$requestRequest

Definition at line 79 of file SubmissionMetadataHandler.inc.php.

References getFormInstance().

SubmissionMetadataHandler::SubmissionMetadataHandler ( )

Constructor.

Definition at line 25 of file SubmissionMetadataHandler.inc.php.


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