dolibarr 21.0.0-alpha
customreports.lib.php File Reference

Set of function to manipulate custom reports. More...

Go to the source code of this file.

Functions

 fillArrayOfMeasures ($object, $tablealias, $labelofobject, &$arrayofmesures, $level=0, &$count=0, &$tablepath='')
 Fill arrayofmesures for an object.
 
 fillArrayOfXAxis ($object, $tablealias, $labelofobject, &$arrayofxaxis, $level=0, &$count=0, &$tablepath='')
 Fill arrayofmesures for an object.
 
 fillArrayOfGroupBy ($object, $tablealias, $labelofobject, &$arrayofgroupby, $level=0, &$count=0, &$tablepath='')
 Fill arrayofgrupby for an object.
 

Detailed Description

Set of function to manipulate custom reports.

Definition in file customreports.lib.php.

Function Documentation

◆ fillArrayOfGroupBy()

fillArrayOfGroupBy ( $object,
$tablealias,
$labelofobject,
& $arrayofgroupby,
$level = 0,
& $count = 0,
& $tablepath = '' )

Fill arrayofgrupby for an object.

Parameters
mixed$objectAny object
string$tablealiasAlias of table
string$labelofobjectLabel of object
array$arrayofgroupbyArray of groupby already filled
int$levelLevel
int$countCount
string$tablepathPath of all tables ('t' or 't,contract' or 't,contract,societe'...)
Returns
array Array of groupby

Definition at line 360 of file customreports.lib.php.

References $object, dol_eval(), dol_include_once(), fillArrayOfGroupBy(), and img_picto().

Referenced by fillArrayOfGroupBy().

◆ fillArrayOfMeasures()

fillArrayOfMeasures ( $object,
$tablealias,
$labelofobject,
& $arrayofmesures,
$level = 0,
& $count = 0,
& $tablepath = '' )

Fill arrayofmesures for an object.

Parameters
mixed$objectAny object
string$tablealiasAlias of table
string$labelofobjectLabel of object
array$arrayofmesuresArray of measures already filled
int$levelLevel
int$countCount
string$tablepathPath of all tables ('t' or 't,contract' or 't,contract,societe'...)
Returns
array Array of measures

Definition at line 37 of file customreports.lib.php.

References $object, dol_eval(), dol_include_once(), fillArrayOfMeasures(), getDolGlobalInt(), and img_picto().

Referenced by fillArrayOfMeasures().

◆ fillArrayOfXAxis()

fillArrayOfXAxis ( $object,
$tablealias,
$labelofobject,
& $arrayofxaxis,
$level = 0,
& $count = 0,
& $tablepath = '' )

Fill arrayofmesures for an object.

Parameters
mixed$objectAny object
string$tablealiasAlias of table ('t' for example)
string$labelofobjectLabel of object
array$arrayofxaxisArray of xaxis already filled
int$levelLevel
int$countCount
string$tablepathPath of all tables ('t' or 't,contract' or 't,contract,societe'...)
Returns
array Array of xaxis

Definition at line 191 of file customreports.lib.php.

References $object, dol_eval(), dol_include_once(), fillArrayOfXAxis(), and img_picto().

Referenced by fillArrayOfXAxis().