dolibarr 20.0.0
|
Class 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. | |
Class permettant la generation de composants html autre Only common components are here.
Definition at line 30 of file html.formmargin.class.php.
FormMargin::__construct | ( | $db | ) |
Constructor.
Definition at line 48 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 212 of file html.formmargin.class.php.
References $object, getDolGlobalString(), 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 63 of file html.formmargin.class.php.
References $object, getDolGlobalInt(), and getDolGlobalString().
Referenced by displayMarginInfos().