Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($issue=null) | |
execute (... $functionArgs) | |
fetch ($request, $template=null, $display=false) | |
getLocaleFieldNames () | |
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 () | |
getRequiredLocale () | |
getTemplate () | |
isValid () | |
readUserVars ($vars) | |
setData ($key, $value=null) | |
setDefaultFormLocale ($defaultLocale) | |
setTemplate ($template) | |
Data Fields | |
$issue | |
Data Fields inherited from Form | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
IssueForm::__construct | ( | $issue = null | ) |
Constructor.
$issue | Issue (optional) |
Definition at line 34 of file IssueForm.inc.php.
References $issue, and Form\addCheck().
IssueForm::execute | ( | $functionArgs | ) |
Save issue settings.
Reimplemented from Form.
Definition at line 200 of file IssueForm.inc.php.
References $issue, HookRegistry\call(), PKPApplication\get(), DAORegistry\getDAO(), Form\getData(), and AppLocale\getLocale().
IssueForm::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 69 of file IssueForm.inc.php.
References AppLocale\getLocale(), and PKPTemplateManager\getManager().
IssueForm::getLocaleFieldNames | ( | ) |
Get a list of fields for which localization should be used.
Reimplemented from Form.
Definition at line 61 of file IssueForm.inc.php.
References DAORegistry\getDAO().
IssueForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 142 of file IssueForm.inc.php.
References AppLocale\getLocale().
IssueForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 174 of file IssueForm.inc.php.
References Form\addCheck(), and Form\readUserVars().
IssueForm::validate | ( | $callHooks = true | ) |
Validate form data.
$callHooks | boolean True (default) iff hooks are to be called. |
Reimplemented from Form.
Definition at line 105 of file IssueForm.inc.php.
References $issue, Form\addError(), Form\addErrorField(), PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().
Issue IssueForm::$issue |
current issue
Definition at line 28 of file IssueForm.inc.php.
Referenced by __construct(), execute(), and validate().