Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPSubmissionMetadataViewForm Class Reference
Inheritance diagram for PKPSubmissionMetadataViewForm:
Form SubmissionMetadataViewForm CatalogEntrySubmissionReviewForm

Public Member Functions

 execute ($request)
 
 fetch ($request)
 
 getFormParams ()
 
 getLocaleFieldNames ()
 
 getStageId ()
 
getSubmission ()
 
 initData ($args, $request)
 
 PKPSubmissionMetadataViewForm ($submissionId, $stageId=null, $formParams=null, $templateName= 'controllers/modals/submissionMetadata/form/submissionMetadataViewForm.tpl')
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Public Attributes

 $_formParams
 
 $_stageId
 
 $_submission
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Displays a submission's metadata view.

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

Member Function Documentation

PKPSubmissionMetadataViewForm::execute (   $request)

Save changes to submission.

Parameters
$requestPKPRequest

Definition at line 146 of file PKPSubmissionMetadataViewForm.inc.php.

PKPSubmissionMetadataViewForm::fetch (   $request)

Fetch the HTML contents of the form.

Parameters
$requestPKPRequest return string

Definition at line 124 of file PKPSubmissionMetadataViewForm.inc.php.

PKPSubmissionMetadataViewForm::getFormParams ( )

Get the extra form parameters.

Definition at line 88 of file PKPSubmissionMetadataViewForm.inc.php.

PKPSubmissionMetadataViewForm::getLocaleFieldNames ( )

Get the names of fields for which data should be localized

Returns
array

Definition at line 100 of file PKPSubmissionMetadataViewForm.inc.php.

References AppLocale\requireComponents().

PKPSubmissionMetadataViewForm::getStageId ( )

Get the Stage Id

Returns
int

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

References $_formParams.

PKPSubmissionMetadataViewForm::initData (   $args,
  $request 
)

Initialize form data with the author name and the submission id.

Parameters
$argsarray
$requestPKPRequest

Definition at line 109 of file PKPSubmissionMetadataViewForm.inc.php.

Referenced by SubmissionInformationCenterHandler\metadata(), and PKPSubmissionInformationCenterHandler\metadata().

PKPSubmissionMetadataViewForm::PKPSubmissionMetadataViewForm (   $submissionId,
  $stageId = null,
  $formParams = null,
  $templateName = 'controllers/modals/submissionMetadata/form/submissionMetadataViewForm.tpl' 
)

Constructor.

Parameters
$submissionIdinteger
$stageIdinteger
$formParamsarray

Definition at line 46 of file PKPSubmissionMetadataViewForm.inc.php.

PKPSubmissionMetadataViewForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 138 of file PKPSubmissionMetadataViewForm.inc.php.

References getSubmission().

Member Data Documentation

PKPSubmissionMetadataViewForm::$_formParams

Parameters to configure the form template.

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

Referenced by getStageId().

PKPSubmissionMetadataViewForm::$_stageId

The current stage id

Definition at line 27 of file PKPSubmissionMetadataViewForm.inc.php.

Referenced by getSubmission().

PKPSubmissionMetadataViewForm::$_submission

The submission used to show metadata information

Definition at line 24 of file PKPSubmissionMetadataViewForm.inc.php.


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