|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($request, $submission, $publication, $articleGalley=null) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| initData () | |
| readInputData () | |
| validate ($callHooks=true) | |
Public Member Functions inherited from Form | |
| _decomposeArray ($name, $value, $stack) | |
| addCheck ($formValidator) | |
| addError ($field, $message) | |
| addErrorField ($field) | |
| addSupportedFormLocale ($supportedLocale) | |
| display ($request=null, $template=null) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
Data Fields | |
| $_articleGalley = null | |
| $_publication = null | |
| $_submission = null | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Article galley editing form.
Definition at line 19 of file ArticleGalleyForm.inc.php.
| ArticleGalleyForm::__construct | ( | $request, | |
| $submission, | |||
| $publication, | |||
$articleGalley = null |
|||
| ) |
Constructor.
| $submission | Submission |
| $publication | Publication |
| $articleGalley | ArticleGalley (optional) |
Reimplemented from Form.
Definition at line 44 of file ArticleGalleyForm.inc.php.
References Form\addCheck(), and AppLocale\requireComponents().
| ArticleGalleyForm::execute | ( | $functionArgs | ) |
Save changes to the galley.
Reimplemented from Form.
Definition at line 150 of file ArticleGalleyForm.inc.php.
References $_articleGalley, DAORegistry\getDAO(), and Form\getData().
| ArticleGalleyForm::fetch | ( | $request, | |
$template = null, |
|||
$display = false |
|||
| ) |
Returns a string of the rendered form
| $request | PKPRequest |
| $template | string the template to be rendered, mandatory if no template has been specified on class instantiation. |
| $display | boolean |
Reimplemented from Form.
Definition at line 75 of file ArticleGalleyForm.inc.php.
References PKPTemplateManager\getManager().
| ArticleGalleyForm::initData | ( | ) |
Initialize form data from current galley (if applicable).
Reimplemented from Form.
Definition at line 119 of file ArticleGalleyForm.inc.php.
| ArticleGalleyForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 135 of file ArticleGalleyForm.inc.php.
References Form\readUserVars().
| ArticleGalleyForm::validate | ( | $callHooks = true | ) |
Validate form data.
| $callHooks | boolean True (default) iff hooks are to be called. |
Reimplemented from Form.
Definition at line 95 of file ArticleGalleyForm.inc.php.
References Form\addError(), Form\addErrorField(), PKPApplication\get(), and Form\getData().
| ArticleGalley ArticleGalleyForm::$_articleGalley = null |
| Publication ArticleGalleyForm::$_publication = null |
Definition at line 30 of file ArticleGalleyForm.inc.php.
| Submission ArticleGalleyForm::$_submission = null |
Definition at line 24 of file ArticleGalleyForm.inc.php.