PHP Класс PKPSubmissionMetadataViewForm, pkp-lib

Наследование: extends Form
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_formParams Parameters to configure the form template.
$_metadataFormImplem SubmissionMetadataFormImplementation
$_stageId The current stage id *
$_submission The submission used to show metadata information *

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

execute() публичный Метод

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

fetch() публичный Метод

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

getFormParams() публичный Метод

Get the extra form parameters.
public getFormParams ( )

getLocaleFieldNames() публичный Метод

Get the names of fields for which data should be localized
public getLocaleFieldNames ( ) : array
Результат array

getStageId() публичный Метод

Get the Stage Id
public getStageId ( ) : integer
Результат integer

getSubmission() публичный Метод

Get the Submission
public getSubmission ( ) : Submission
Результат Submission

initData() публичный Метод

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

readInputData() публичный Метод

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

Описание свойств

$_formParams публичное свойство

Parameters to configure the form template.
public $_formParams

$_metadataFormImplem публичное свойство

public SubmissionMetadataFormImplementation $_metadataFormImplem
Результат SubmissionMetadataFormImplementation

$_stageId публичное свойство

The current stage id *
public $_stageId

$_submission публичное свойство

The submission used to show metadata information *
public $_submission