PHP Class PKPSubmissionMetadataViewForm, pkp-lib

Inheritance: extends Form
Afficher le fichier Open project: pkp/pkp-lib Class Usage Examples

Méthodes publiques

Свойство Type Description
$_formParams Parameters to configure the form template.
$_metadataFormImplem SubmissionMetadataFormImplementation
$_stageId The current stage id *
$_submission The submission used to show metadata information *

Méthodes publiques

Méthode 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 méthode

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

execute() public méthode

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

fetch() public méthode

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

getFormParams() public méthode

Get the extra form parameters.
public getFormParams ( )

getLocaleFieldNames() public méthode

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

getStageId() public méthode

Get the Stage Id
public getStageId ( ) : integer
Résultat integer

getSubmission() public méthode

Get the Submission
public getSubmission ( ) : Submission
Résultat Submission

initData() public méthode

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

readInputData() public méthode

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
Résultat SubmissionMetadataFormImplementation

$_stageId public_oe property

The current stage id *
public $_stageId

$_submission public_oe property

The submission used to show metadata information *
public $_submission