dolibarr 21.0.0-beta
FormMargin Class Reference

Class permettant la generation de composants html autre Only common components are here. More...

Public Member Functions

 __construct ($db)
 Constructor.
 
 displayMarginInfos ($object, $force_price=false)
 Show the array with all margin infos.
 

Detailed Description

Class permettant la generation de composants html autre Only common components are here.

Definition at line 31 of file html.formmargin.class.php.

Constructor & Destructor Documentation

◆ __construct()

FormMargin::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 49 of file html.formmargin.class.php.

Member Function Documentation

◆ displayMarginInfos()

FormMargin::displayMarginInfos ( $object,
$force_price = false )

Show the array with all margin infos.

Parameters
CommonObject$objectObject we want to get margin information for
boolean$force_priceForce price
Returns
void

Definition at line 217 of file html.formmargin.class.php.

References $object, getDolGlobalString(), img_picto(), price(), and setEventMessages().


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