|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct () | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| initData () | |
| readInputData () | |
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) | |
| validate ($callHooks=true) | |
Additional Inherited Members | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Form for installing languages.
Definition at line 19 of file InstallLanguageForm.inc.php.
| InstallLanguageForm::__construct | ( | ) |
Constructor.
Definition at line 24 of file InstallLanguageForm.inc.php.
| InstallLanguageForm::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 74 of file InstallLanguageForm.inc.php.
References Form\$supportedLocales, PKPApplication\get(), DAORegistry\getDAO(), Form\getData(), PKPLocale\installLocale(), and PKPLocale\isLocaleValid().
| InstallLanguageForm::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 45 of file InstallLanguageForm.inc.php.
References PKPLocale\getAllLocales(), Form\getData(), and PKPTemplateManager\getManager().
| InstallLanguageForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 34 of file InstallLanguageForm.inc.php.
References PKPApplication\get(), and Form\setData().
| InstallLanguageForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from Form.
Definition at line 63 of file InstallLanguageForm.inc.php.
References PKPApplication\get(), and Form\setData().