Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
JournalSetupStep1Form Class Reference
Inheritance diagram for JournalSetupStep1Form:
JournalSetupForm Form

Public Member Functions

 display ($request, $dispatcher)
 
 execute ()
 
 getLocaleFieldNames ()
 
 JournalSetupStep1Form ()
 
- Public Member Functions inherited from JournalSetupForm
 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
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for Step 1 of journal setup.

Definition at line 18 of file JournalSetupStep1Form.inc.php.

Member Function Documentation

JournalSetupStep1Form::display (   $request,
  $dispatcher 
)

Display the form.

Definition at line 107 of file JournalSetupStep1Form.inc.php.

References DAORegistry\getDAO(), and Config\getVar().

JournalSetupStep1Form::execute ( )

Execute the form, but first: Make sure we're not saving an empty entry for sponsors. (This would result in a possibly empty heading for the Sponsors section in About the Journal.)

Definition at line 83 of file JournalSetupStep1Form.inc.php.

References DAORegistry\getDAO(), Form\getData(), and Form\setData().

JournalSetupStep1Form::getLocaleFieldNames ( )

Get the list of field names for which localized settings are used.

Returns
array

Definition at line 73 of file JournalSetupStep1Form.inc.php.

JournalSetupStep1Form::JournalSetupStep1Form ( )

Constructor.

Definition at line 22 of file JournalSetupStep1Form.inc.php.

References Form\addCheck().


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