PHP 클래스 PKPSubmissionMetadataViewForm, pkp-lib

상속: extends Form
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_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