dolibarr 19.0.3
FormBank Class Reference

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

Public Member Functions

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

Static Public Member Functions

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

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.

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.

Referenced by pdf_bank().

◆ 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.

References Form\selectarray().


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