dolibarr  17.0.4
Public Member Functions | Static Public Member Functions | List of all members
FormBank Class Reference

Class to manage generation of HTML components for bank module. More...

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 selectTypeOfBankAccount ($selected=Account::TYPE_CURRENT, $htmlname='type')
 Retourne la liste des types de comptes financiers. More...
 

Static Public Member Functions

static getIBANLabel (Account $account)
 Returns the name of the Iban label. More...
 

Detailed Description

Class to manage generation of HTML components for bank module.

Definition at line 32 of file html.formbank.class.php.

Constructor & Destructor Documentation

◆ __construct()

FormBank::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 50 of file html.formbank.class.php.

References db.

Member Function Documentation

◆ getIBANLabel()

static FormBank::getIBANLabel ( Account  $account)
static

Returns the name of the Iban label.

India uses 'IFSC' and the rest of the world 'IBAN' name.

Parameters
Account$accountAccount object
Returns
string

Definition at line 75 of file html.formbank.class.php.

◆ selectTypeOfBankAccount()

FormBank::selectTypeOfBankAccount (   $selected = Account::TYPE_CURRENT,
  $htmlname = 'type' 
)

Retourne la liste des types de comptes financiers.

Parameters
integer$selectedType pre-selectionne
string$htmlnameNom champ formulaire
Returns
void

Definition at line 62 of file html.formbank.class.php.


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