Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($contextId, $navigationMenuId=null) | |
execute (... $functionParams) | |
fetch ($request, $template=null, $display=false) | |
getLocaleFieldNames () | |
initData () | |
readInputData () | |
validate ($callHooks=true) | |
![]() | |
__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 () | |
getRequiredLocale () | |
getTemplate () | |
isValid () | |
readUserVars ($vars) | |
setData ($key, $value=null) | |
setDefaultFormLocale ($defaultLocale) | |
setTemplate ($template) | |
Data Fields | |
$_contextId | |
$_navigationMenuId | |
![]() | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
Form for manager to create/edit NavigationMenus.
Definition at line 20 of file NavigationMenuForm.inc.php.
NavigationMenuForm::__construct | ( | $contextId, | |
$navigationMenuId = null |
|||
) |
Constructor
$contextId | int Context ID |
$navigationMenuId | int NavigationMenu Id |
Definition at line 38 of file NavigationMenuForm.inc.php.
References Form\addCheck().
NavigationMenuForm::execute | ( | $functionParams | ) |
Save NavigationMenu .
Reimplemented from Form.
Definition at line 162 of file NavigationMenuForm.inc.php.
References DAORegistry\getDAO(), and Form\getData().
NavigationMenuForm::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 61 of file NavigationMenuForm.inc.php.
References PKPServices\get(), DAORegistry\getDAO(), Form\getData(), PKPTemplateManager\getManager(), PluginRegistry\getPlugins(), and PluginRegistry\loadCategory().
NavigationMenuForm::getLocaleFieldNames | ( | ) |
Get a list of localized field names for this form
Reimplemented from Form.
Definition at line 54 of file NavigationMenuForm.inc.php.
NavigationMenuForm::initData | ( | ) |
Initialize form data from current NavigationMenu.
Reimplemented from Form.
Definition at line 129 of file NavigationMenuForm.inc.php.
References PKPServices\get(), and DAORegistry\getDAO().
NavigationMenuForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 154 of file NavigationMenuForm.inc.php.
References Form\readUserVars().
NavigationMenuForm::validate | ( | $callHooks = true | ) |
Perform additional validation checks Validate form data.
$callHooks | boolean True (default) iff hooks are to be called. |
Reimplemented from Form.
Definition at line 210 of file NavigationMenuForm.inc.php.
References Form\addError(), DAORegistry\getDAO(), and Form\getData().
int NavigationMenuForm::$_contextId |
Context ID
Definition at line 25 of file NavigationMenuForm.inc.php.
$_navigationMenuId NavigationMenuForm::$_navigationMenuId |
int The menu id being edited
Definition at line 31 of file NavigationMenuForm.inc.php.