dolibarr  16.0.5
Public Member Functions | List of all members
FormMargin Class Reference

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

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 getMarginInfosArray ($object, $force_price=false)
 get array with margin information from lines of object TODO Move this in common class. More...
 
 displayMarginInfos ($object, $force_price=false)
 Show the array with all margin infos. More...
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

FormMargin::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

References db.

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 202 of file html.formmargin.class.php.

◆ getMarginInfosArray()

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

get array with margin information from lines of object TODO Move this in common class.

Parameters
CommonObject$objectObject we want to get margin information for
boolean$force_priceTrue of not
Returns
array Array with info

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


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