dolibarr 18.0.6
|
Classe permettant la generation de composants html autre Only common components are here. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
getMarginInfosArray ($object, $force_price=false) | |
get array with margin information from lines of object TODO Move this in common class. | |
displayMarginInfos ($object, $force_price=false) | |
Show the array with all margin infos. | |
Classe permettant la generation de composants html autre Only common components are here.
Definition at line 29 of file html.formmargin.class.php.
FormMargin::__construct | ( | $db | ) |
Constructor.
Definition at line 47 of file html.formmargin.class.php.
FormMargin::displayMarginInfos | ( | $object, | |
$force_price = false ) |
Show the array with all margin infos.
CommonObject | $object | Object we want to get margin information for |
boolean | $force_price | Force price |
Definition at line 208 of file html.formmargin.class.php.
References getMarginInfosArray(), img_picto(), price(), and setEventMessages().
FormMargin::getMarginInfosArray | ( | $object, | |
$force_price = false ) |
get array with margin information from lines of object TODO Move this in common class.
CommonObject | $object | Object we want to get margin information for |
boolean | $force_price | True of not |
Definition at line 62 of file html.formmargin.class.php.
References getDolGlobalInt(), and getDolGlobalString().
Referenced by displayMarginInfos().