PHP Class ArticleGalleyForm, ojs

Inheritance: extends Form
Mostrar archivo Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$_articleGalley current galley
$_submission article

Public Methods

Method Description
__construct ( $request, $submission, $articleGalley = null ) Constructor.
execute ( $request ) : ArticleGalley Save changes to the galley.
fetch ( $request ) Display the form.
initData ( ) Initialize form data from current galley (if applicable).
readInputData ( ) Assign form data to user-submitted data.

Method Details

__construct() public method

Constructor.
public __construct ( $request, $submission, $articleGalley = null )
$submission Submission
$articleGalley ArticleGalley (optional)

execute() public method

Save changes to the galley.
public execute ( $request ) : ArticleGalley
$request PKPRequest
return ArticleGalley The resulting article galley.

fetch() public method

Display the form.
public fetch ( $request )

initData() public method

Initialize form data from current galley (if applicable).
public initData ( )

readInputData() public method

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

Property Details

$_articleGalley public_oe property

current galley
public $_articleGalley

$_submission public_oe property

article
public $_submission