Open Journal Systems  3.3.0
PaymentTypesForm Class Reference
Inheritance diagram for PaymentTypesForm:
Form

Public Member Functions

 __construct ()
 
 execute (... $functionArgs)
 
 initData ()
 
 readInputData ()
 
- Public Member Functions inherited from Form
 __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 addSupportedFormLocale ($supportedLocale)
 
 display ($request=null, $template=null)
 
 fetch ($request, $template=null, $display=false)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 isValid ()
 
 readUserVars ($vars)
 
 setData ($key, $value=null)
 
 setDefaultFormLocale ($defaultLocale)
 
 setTemplate ($template)
 
 validate ($callHooks=true)
 

Protected Attributes

 $settings
 

Additional Inherited Members

- Data Fields inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $defaultLocale
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Permit configuration of the various payment types.

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

Constructor & Destructor Documentation

◆ __construct()

PaymentTypesForm::__construct ( )

Constructor

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

References Form\addCheck(), and AppLocale\requireComponents().

Member Function Documentation

◆ execute()

PaymentTypesForm::execute (   $functionArgs)

Execute the form's action. (Note that it is assumed that the form has already been validated.)

Parameters
mixed$functionArgs,...Arguments from the caller to be passed to the hook consumer
Returns
mixed Result from the consumer to be passed to the caller. Send a true-ish result if you want the caller to do something with the return value.

Reimplemented from Form.

Definition at line 77 of file PaymentTypesForm.inc.php.

References PKPApplication\get(), DAORegistry\getDAO(), and Form\getData().

◆ initData()

PaymentTypesForm::initData ( )

Initialize form data from current group group.

Reimplemented from Form.

Definition at line 60 of file PaymentTypesForm.inc.php.

References PKPApplication\get(), and Form\setData().

◆ readInputData()

PaymentTypesForm::readInputData ( )

Assign form data to user-submitted data.

Reimplemented from Form.

Definition at line 70 of file PaymentTypesForm.inc.php.

References Form\readUserVars().

Field Documentation

◆ $settings

array PaymentTypesForm::$settings
protected

the setting names

Definition at line 23 of file PaymentTypesForm.inc.php.


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