Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($plugin, $contextId) | |
_getContextId () | |
_getCountries () | |
_getPlugin () | |
execute (... $functionArgs) | |
fetch ($request) | |
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 the mEDRA plug-in.
Definition at line 18 of file MedraSettingsForm.inc.php.
MedraSettingsForm::__construct | ( | $plugin, | |
$contextId | |||
) |
Constructor
$plugin | MedraExportPlugin |
$contextId | integer |
Definition at line 59 of file MedraSettingsForm.inc.php.
References $application, _getCountries(), Form\addCheck(), PKPApplication\get(), PluginRegistry\loadCategory(), and Form\setData().
MedraSettingsForm::_getContextId | ( | ) |
Get the context ID.
Definition at line 33 of file MedraSettingsForm.inc.php.
References $_contextId.
Referenced by execute(), and initData().
MedraSettingsForm::_getCountries | ( | ) |
Return a list of countries eligible as publication countries.
Definition at line 188 of file MedraSettingsForm.inc.php.
Referenced by __construct(), and fetch().
MedraSettingsForm::_getPlugin | ( | ) |
Get the plugin.
Definition at line 47 of file MedraSettingsForm.inc.php.
References $_plugin.
Referenced by execute(), and initData().
MedraSettingsForm::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 139 of file MedraSettingsForm.inc.php.
References _getContextId(), _getPlugin(), Form\getData(), and getFormFields().
MedraSettingsForm::fetch | ( | $request | ) |
copydoc Form::fetch()
Definition at line 114 of file MedraSettingsForm.inc.php.
References _getCountries(), and PKPTemplateManager\getManager().
MedraSettingsForm::getFormFields | ( | ) |
Get form fields
Definition at line 156 of file MedraSettingsForm.inc.php.
Referenced by execute(), initData(), and readInputData().
MedraSettingsForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 103 of file MedraSettingsForm.inc.php.
References _getContextId(), _getPlugin(), getFormFields(), and Form\setData().
MedraSettingsForm::isOptional | ( | $settingName | ) |
Is the form field optional
$settingName | string |
Definition at line 176 of file MedraSettingsForm.inc.php.
MedraSettingsForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from Form.
Definition at line 132 of file MedraSettingsForm.inc.php.
References getFormFields(), and Form\readUserVars().
integer MedraSettingsForm::$_contextId |
Definition at line 27 of file MedraSettingsForm.inc.php.
Referenced by _getContextId().
MedraExportPlugin MedraSettingsForm::$_plugin |
Definition at line 41 of file MedraSettingsForm.inc.php.
Referenced by _getPlugin().