Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
JournalSetupForm Class Reference
Inheritance diagram for JournalSetupForm:
Form JournalSetupStep1Form JournalSetupStep2Form JournalSetupStep3Form JournalSetupStep4Form JournalSetupStep5Form

Public Member Functions

 display ($request, $dispatcher)
 execute ()
 initData ()
 JournalSetupForm ($step, $settings)
 readInputData ()
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 addCheck ($formValidator)
 addError ($field, $message)
 addErrorField ($field)
 display ($request=null, $template=null)
 execute ($object=null)
 fetch (&$request, $template=null, $display=false)
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 getData ($key)
 getDefaultFormLocale ()
 getErrorsArray ()
 getFormLocale ()
 getLocaleFieldNames ()
 getRequiredLocale ()
 getTemplate ()
 initData ()
 isLocaleResubmit ()
 isValid ()
 readInputData ()
 readUserDateVars ($vars)
 readUserVars ($vars)
 setData ($key, $value)
 setTemplate ($template)
 smartyFormLanguageChooser ($params, &$smarty)
 validate ($callHooks=true)

Additional Inherited Members

- Public Attributes inherited from Form

Detailed Description

Base class for journal setup forms.

Definition at line 23 of file

Member Function Documentation

JournalSetupForm::display (   $request,

Display the form.

Definition at line 42 of file

JournalSetupForm::execute ( )

Save modified settings.

Definition at line 68 of file

References DAORegistry\getDAO(), Request\getJournal(), and Form\getLocaleFieldNames().

JournalSetupForm::initData ( )

Initialize data from current settings.

Definition at line 53 of file

References Request\getJournal().

JournalSetupForm::JournalSetupForm (   $step,


$stepthe step number
$settingsan associative array with the setting names as keys and associated types as values

Definition at line 32 of file

References Form\addCheck().

JournalSetupForm::readInputData ( )

Read user input.

Definition at line 61 of file

References Form\readUserVars().

The documentation for this class was generated from the following file: