PHP Class PKPSubmissionMetadataFormImplementation, pkp-lib

Mostrar archivo Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_parentForm Form that uses this implementation

Public Methods

Method Description
__construct ( $parentForm = null ) Constructor.
_getAbstractsRequired ( $submission ) : boolean Determine whether or not abstracts are required.
addChecks ( $submission ) Add checks to form.
execute ( $submission, $request ) : Submission Save changes to submission.
getLocaleFieldNames ( ) : array Get the names of fields for which data should be localized
initData ( $submission ) Initialize form data from current submission.
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor.
public __construct ( $parentForm = null )
$parentForm Form A form that can use this form.

_getAbstractsRequired() public method

Determine whether or not abstracts are required.
public _getAbstractsRequired ( $submission ) : boolean
$submission Submission
return boolean

addChecks() public method

Add checks to form.
public addChecks ( $submission )
$submission Submission

execute() public method

Save changes to submission.
public execute ( $submission, $request ) : Submission
$submission Submission
$request PKPRequest
return Submission

getLocaleFieldNames() public method

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

initData() public method

Initialize form data from current submission.
public initData ( $submission )
$submission Submission

readInputData() public method

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

Property Details

$_parentForm public_oe property

Form that uses this implementation
public $_parentForm