dolibarr  7.0.0-beta
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 30 of file html.formbank.class.php.

Constructor & Destructor Documentation

FormBank::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

Member Function Documentation

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 66 of file html.formbank.class.php.

References Account\getCountryCode().

Referenced by pdf_bank().

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 53 of file html.formbank.class.php.

References print, and Form\selectarray().


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