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

Public Member Functions

 display ()
 
 getLocaleFieldNames ()
 
 initData ()
 
 PaymentSettingsForm ()
 
 readInputData ()
 
 save ()
 
- 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

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

Detailed Description

Form for managers to modify Payment costs and settings.

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

Member Function Documentation

PaymentSettingsForm::display ( )

Display the form.

Definition at line 120 of file PaymentSettingsForm.inc.php.

PaymentSettingsForm::getLocaleFieldNames ( )

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

Returns
array

Definition at line 97 of file PaymentSettingsForm.inc.php.

Referenced by save().

PaymentSettingsForm::initData ( )

Initialize form data from current group group.

Definition at line 129 of file PaymentSettingsForm.inc.php.

References Request\getJournal().

PaymentSettingsForm::PaymentSettingsForm ( )

Constructor

Parameters
$journalIdint

Definition at line 33 of file PaymentSettingsForm.inc.php.

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

PaymentSettingsForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 139 of file PaymentSettingsForm.inc.php.

References Form\readUserVars().

PaymentSettingsForm::save ( )

Save settings

Definition at line 146 of file PaymentSettingsForm.inc.php.

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

Member Data Documentation

PaymentSettingsForm::$errors

$var $errors string

Definition at line 27 of file PaymentSettingsForm.inc.php.


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