|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($customLocalePlugin, $filePath, $locale) | |
| fetch ($request) | |
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) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| initData () | |
| isValid () | |
| readInputData () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $filePath | |
| $locale | |
| $plugin | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Definition at line 14 of file LocaleFileForm.inc.php.
| LocaleFileForm::__construct | ( | $customLocalePlugin, | |
| $filePath, | |||
| $locale | |||
| ) |
Constructor
| $customLocalePlugin | object |
| $filePath | string |
| $locale | string |
Definition at line 36 of file LocaleFileForm.inc.php.
| LocaleFileForm::fetch | ( | $request | ) |
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 |
Definition at line 46 of file LocaleFileForm.inc.php.
References $filePath, $locale, PKPTemplateManager\getManager(), CustomLocaleAction\isLocaleFile(), and LocaleFile\load().
| $filePath LocaleFileForm::$filePath |
string
Definition at line 19 of file LocaleFileForm.inc.php.
Referenced by __construct(), and fetch().
| $locale LocaleFileForm::$locale |
string
Definition at line 25 of file LocaleFileForm.inc.php.
Referenced by __construct(), and fetch().
| LocaleFileForm::$plugin |
Custom locale plugin
Definition at line 28 of file LocaleFileForm.inc.php.