Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($plugin, $contextId) | |
_getContextId () | |
_getFormFields () | |
_getPlugin () | |
execute (... $functionArgs) | |
fetch ($request) | |
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) | |
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 URN plugin.
Definition at line 19 of file URNSettingsForm.inc.php.
URNSettingsForm::__construct | ( | $plugin, | |
$contextId | |||
) |
Constructor
$plugin | URNPubIdPlugin |
$contextId | integer |
Definition at line 60 of file URNSettingsForm.inc.php.
References Form\addCheck(), PKPApplication\get(), and Form\setData().
URNSettingsForm::_getContextId | ( | ) |
Get the context ID.
Definition at line 34 of file URNSettingsForm.inc.php.
References $_contextId.
Referenced by execute(), and initData().
URNSettingsForm::_getFormFields | ( | ) |
Definition at line 159 of file URNSettingsForm.inc.php.
Referenced by execute(), initData(), and readInputData().
URNSettingsForm::_getPlugin | ( | ) |
Get the plugin.
Definition at line 48 of file URNSettingsForm.inc.php.
References $_plugin.
Referenced by execute(), and initData().
URNSettingsForm::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 147 of file URNSettingsForm.inc.php.
References _getContextId(), _getFormFields(), _getPlugin(), and Form\getData().
URNSettingsForm::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 112 of file URNSettingsForm.inc.php.
References PKPTemplateManager\getManager().
URNSettingsForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 129 of file URNSettingsForm.inc.php.
References _getContextId(), _getFormFields(), _getPlugin(), and Form\setData().
URNSettingsForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from Form.
Definition at line 140 of file URNSettingsForm.inc.php.
References _getFormFields(), and Form\readUserVars().
integer URNSettingsForm::$_contextId |
Definition at line 28 of file URNSettingsForm.inc.php.
Referenced by _getContextId().
URNPubIdPlugin URNSettingsForm::$_plugin |
Definition at line 42 of file URNSettingsForm.inc.php.
Referenced by _getPlugin().