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

Public Member Functions

 display ()
 
 execute ()
 
 getLocaleFieldNames ()
 
 initData ()
 
 JournalSiteSettingsForm ($journalId=null)
 
 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)
 

Public Attributes

 $journalId
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for site administrator to edit basic journal settings.

Definition at line 19 of file JournalSiteSettingsForm.inc.php.

Member Function Documentation

JournalSiteSettingsForm::display ( )

Display the form.

Definition at line 44 of file JournalSiteSettingsForm.inc.php.

JournalSiteSettingsForm::getLocaleFieldNames ( )

Get a list of field names for which localized settings are used

Returns
array

Definition at line 96 of file JournalSiteSettingsForm.inc.php.

JournalSiteSettingsForm::initData ( )

Initialize form data from current settings.

Definition at line 54 of file JournalSiteSettingsForm.inc.php.

References DAORegistry\getDAO().

JournalSiteSettingsForm::JournalSiteSettingsForm (   $journalId = null)

Constructor.

Parameters
$journalIdomit for a new journal

Definition at line 28 of file JournalSiteSettingsForm.inc.php.

References $journalId, Form\addCheck(), and DAORegistry\getDAO().

JournalSiteSettingsForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 81 of file JournalSiteSettingsForm.inc.php.

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

Referenced by AdminJournalHandler\updateJournal().

Member Data Documentation

JournalSiteSettingsForm::$journalId

The ID of the journal being edited

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

Referenced by execute(), and JournalSiteSettingsForm().


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