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

Public Member Functions

 deleteImage ($settingName, $locale=null)
 
 display ($request, $dispatcher)
 
 getLocaleFieldNames ()
 
 JournalSetupStep5Form ()
 
 uploadImage ($settingName, $locale)
 
 uploadStyleSheet ($settingName)
 
- 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 5 of journal setup.

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

Member Function Documentation

JournalSetupStep5Form::deleteImage (   $settingName,
  $locale = null 
)

Deletes a journal image.

Parameters
$settingNamestring setting key associated with the file
$localestring

Definition at line 178 of file JournalSetupStep5Form.inc.php.

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

JournalSetupStep5Form::display (   $request,
  $dispatcher 
)

Display the form.

Definition at line 64 of file JournalSetupStep5Form.inc.php.

References PluginRegistry\loadCategory().

JournalSetupStep5Form::getLocaleFieldNames ( )

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

Returns
array

Definition at line 56 of file JournalSetupStep5Form.inc.php.

JournalSetupStep5Form::JournalSetupStep5Form ( )

Constructor.

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

JournalSetupStep5Form::uploadImage (   $settingName,
  $locale 
)

Uploads a journal image.

Parameters
$settingNamestring setting key associated with the file
$localestring

Definition at line 122 of file JournalSetupStep5Form.inc.php.

References Core\getCurrentDate(), DAORegistry\getDAO(), Request\getJournal(), and Form\setData().

JournalSetupStep5Form::uploadStyleSheet (   $settingName)

Uploads journal custom stylesheet.

Parameters
$settingNamestring setting key associated with the file

Definition at line 205 of file JournalSetupStep5Form.inc.php.

References Core\getCurrentDate(), DAORegistry\getDAO(), and Request\getJournal().


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