PHP Class PKPSubmissionMetadataViewForm, pkp-lib

Inheritance: extends Form
显示文件 Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_formParams Parameters to configure the form template.
$_metadataFormImplem SubmissionMetadataFormImplementation
$_stageId The current stage id *
$_submission The submission used to show metadata information *

Public Methods

Method Description
__construct ( $submissionId, $stageId = null, $formParams = null, $templateName = 'controllers/modals/submissionMetadata/form/submissionMetadataViewForm.tpl' ) Constructor.
execute ( $request ) Save changes to submission.
fetch ( $request ) Fetch the HTML contents of the form.
getFormParams ( ) Get the extra form parameters.
getLocaleFieldNames ( ) : array Get the names of fields for which data should be localized
getStageId ( ) : integer Get the Stage Id
getSubmission ( ) : Submission Get the Submission
initData ( $args, $request ) Initialize form data with the author name and the submission id.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor.
public __construct ( $submissionId, $stageId = null, $formParams = null, $templateName = 'controllers/modals/submissionMetadata/form/submissionMetadataViewForm.tpl' )
$submissionId integer
$stageId integer
$formParams array

execute() public method

Save changes to submission.
public execute ( $request )
$request PKPRequest

fetch() public method

Fetch the HTML contents of the form.
public fetch ( $request )
$request PKPRequest return string

getFormParams() public method

Get the extra form parameters.
public getFormParams ( )

getLocaleFieldNames() public method

Get the names of fields for which data should be localized
public getLocaleFieldNames ( ) : array
return array

getStageId() public method

Get the Stage Id
public getStageId ( ) : integer
return integer

getSubmission() public method

Get the Submission
public getSubmission ( ) : Submission
return Submission

initData() public method

Initialize form data with the author name and the submission id.
public initData ( $args, $request )
$args array
$request PKPRequest

readInputData() public method

Assign form data to user-submitted data.
public readInputData ( )

Property Details

$_formParams public_oe property

Parameters to configure the form template.
public $_formParams

$_metadataFormImplem public_oe property

public SubmissionMetadataFormImplementation $_metadataFormImplem
return SubmissionMetadataFormImplementation

$_stageId public_oe property

The current stage id *
public $_stageId

$_submission public_oe property

The submission used to show metadata information *
public $_submission