dolibarr  17.0.4
Functions
customreports.php File Reference

Page to make custom reports. More...

Go to the source code of this file.

Functions

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

Detailed Description

Page to make custom reports.

Definition in file customreports.php.

Function Documentation

◆ fillArrayOfGroupBy()

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

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
Returns
array Array of groupby

Definition at line 1190 of file customreports.php.

◆ fillArrayOfMeasures()

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

Fill arrayofmesures for an object.

Parameters
mixed$objectAny object
string$tablealiasAlias of table
string$labelofobjectLabel of object
array$arrayofmesuresArray of mesures already filled
int$levelLevel
int$countCount
Returns
array Array of mesures

Definition at line 964 of file customreports.php.

◆ fillArrayOfXAxis()

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

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
Returns
array Array of xaxis

Definition at line 1069 of file customreports.php.