|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($request, $issue, $issueGalley=null) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| initData () | |
| readInputData () | |
| validate ($callHooks=true) | |
Public Member Functions inherited from Form | |
| __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null) | |
| _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 | |
| $_issue = null | |
| $_issueGalley = null | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Issue galley editing form.
Definition at line 19 of file IssueGalleyForm.inc.php.
| IssueGalleyForm::__construct | ( | $request, | |
| $issue, | |||
$issueGalley = null |
|||
| ) |
Constructor.
| $issue | Issue |
| $issueGalley | IssueGalley (optional) |
Definition at line 37 of file IssueGalleyForm.inc.php.
References Form\addCheck(), and AppLocale\requireComponents().
| IssueGalleyForm::execute | ( | $functionArgs | ) |
Execute the form's action. (Note that it is assumed that the form has already been validated.)
| mixed | $functionArgs,... | Arguments from the caller to be passed to the hook consumer |
Reimplemented from Form.
Definition at line 157 of file IssueGalleyForm.inc.php.
References $_issueGalley, PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().
| IssueGalleyForm::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 67 of file IssueGalleyForm.inc.php.
References PKPTemplateManager\getManager().
| IssueGalleyForm::initData | ( | ) |
Initialize form data from current galley (if applicable).
Reimplemented from Form.
Definition at line 126 of file IssueGalleyForm.inc.php.
| IssueGalleyForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 142 of file IssueGalleyForm.inc.php.
References Form\readUserVars().
| IssueGalleyForm::validate | ( | $callHooks = true | ) |
Validate form data.
| $callHooks | boolean True (default) iff hooks are to be called. |
Reimplemented from Form.
Definition at line 87 of file IssueGalleyForm.inc.php.
References Form\addError(), Form\addErrorField(), PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().
| Issue IssueGalleyForm::$_issue = null |
the issue the galley belongs to
Definition at line 24 of file IssueGalleyForm.inc.php.
| IssueGalley IssueGalleyForm::$_issueGalley = null |