|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($plugin, $contextId) | |
| _getContextId () | |
| _getPlugin () | |
| execute (... $functionArgs) | |
| getFormFields () | |
| initData () | |
| isOptional ($settingName) | |
| 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) | |
| fetch ($request, $template=null, $display=false) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $_contextId | |
| $_plugin | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Form for journal managers to setup DOAJ plugin.
Definition at line 19 of file DOAJSettingsForm.inc.php.
| DOAJSettingsForm::__construct | ( | $plugin, | |
| $contextId | |||
| ) |
Constructor
| $plugin | DOAJExportPlugin |
| $contextId | integer |
Definition at line 61 of file DOAJSettingsForm.inc.php.
References Form\addCheck().
| DOAJSettingsForm::_getContextId | ( | ) |
Get the context ID.
Definition at line 34 of file DOAJSettingsForm.inc.php.
References $_contextId.
Referenced by execute(), and initData().
| DOAJSettingsForm::_getPlugin | ( | ) |
Get the plugin.
Definition at line 48 of file DOAJSettingsForm.inc.php.
References $_plugin.
Referenced by execute(), and initData().
| DOAJSettingsForm::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 97 of file DOAJSettingsForm.inc.php.
References _getContextId(), _getPlugin(), Form\getData(), and getFormFields().
| DOAJSettingsForm::getFormFields | ( | ) |
Get form fields
Definition at line 114 of file DOAJSettingsForm.inc.php.
Referenced by execute(), initData(), and readInputData().
| DOAJSettingsForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 79 of file DOAJSettingsForm.inc.php.
References _getContextId(), _getPlugin(), getFormFields(), and Form\setData().
| DOAJSettingsForm::isOptional | ( | $settingName | ) |
Is the form field optional
| $settingName | string |
Definition at line 127 of file DOAJSettingsForm.inc.php.
| DOAJSettingsForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from Form.
Definition at line 90 of file DOAJSettingsForm.inc.php.
References getFormFields(), and Form\readUserVars().
| integer DOAJSettingsForm::$_contextId |
Definition at line 28 of file DOAJSettingsForm.inc.php.
Referenced by _getContextId().
| CrossRefExportPlugin DOAJSettingsForm::$_plugin |
Definition at line 42 of file DOAJSettingsForm.inc.php.
Referenced by _getPlugin().