|
dolibarr 21.0.0-beta
|
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 arrayofgroupby for an object. | |
| fillArrayOfFilterFields ($object, $tablealias, $labelofobject, &$arrayoffields, $level=0, &$count=0, &$tablepath='') | |
| Fill array of possible filter fields for an object. | |
Set of function to manipulate custom reports.
Definition in file customreports.lib.php.
| fillArrayOfFilterFields | ( | $object, | |
| $tablealias, | |||
| $labelofobject, | |||
| & | $arrayoffields, | ||
| $level = 0, | |||
| & | $count = 0, | ||
| & | $tablepath = '' ) |
Fill array of possible filter fields for an object.
| CommonObject | $object | Any object |
| string | $tablealias | Alias of table ('t' for example) |
| string | $labelofobject | Label of object |
| array<string,array{label:string,labelnohtml:string,position:int,table:string,tablefromt:string,type:string}> | $arrayoffields Array of fields already filled | |
| int | $level | Level |
| int | $count | Count |
| string | $tablepath | Path of all tables ('t' or 't,contract' or 't,contract,societe'...) |
Definition at line 522 of file customreports.lib.php.
References $object, dol_eval(), dol_include_once(), fillArrayOfFilterFields(), and img_picto().
Referenced by fillArrayOfFilterFields().
| fillArrayOfGroupBy | ( | $object, | |
| $tablealias, | |||
| $labelofobject, | |||
| & | $arrayofgroupby, | ||
| $level = 0, | |||
| & | $count = 0, | ||
| & | $tablepath = '' ) |
Fill arrayofgroupby for an object.
| CommonObject | $object | Any object |
| string | $tablealias | Alias of table |
| string | $labelofobject | Label of object |
| array<string,array{label:string,labelnohtml:string,position:int,table:string,tablefromt:string}> | $arrayofgroupby Array of groupby already filled | |
| int | $level | Level |
| int | $count | Count |
| string | $tablepath | Path of all tables ('t' or 't,contract' or 't,contract,societe'...) |
Definition at line 357 of file customreports.lib.php.
References $object, dol_eval(), dol_include_once(), fillArrayOfGroupBy(), and img_picto().
Referenced by fillArrayOfGroupBy().
| fillArrayOfMeasures | ( | $object, | |
| $tablealias, | |||
| $labelofobject, | |||
| & | $arrayofmesures, | ||
| $level = 0, | |||
| & | $count = 0, | ||
| & | $tablepath = '' ) |
Fill arrayofmesures for an object.
| mixed | $object | Any object |
| string | $tablealias | Alias of table |
| string | $labelofobject | Label of object |
| array<string,array{label:string,labelnohtml:string,position:int,table:string,tablefromt:string}> | $arrayofmesures Array of measures already filled | |
| int | $level | Level |
| int | $count | Count |
| string | $tablepath | Path of all tables ('t' or 't,contract' or 't,contract,societe'...) |
Definition at line 38 of file customreports.lib.php.
References $object, dol_eval(), dol_include_once(), fillArrayOfMeasures(), and img_picto().
Referenced by fillArrayOfMeasures().
| fillArrayOfXAxis | ( | $object, | |
| $tablealias, | |||
| $labelofobject, | |||
| & | $arrayofxaxis, | ||
| $level = 0, | |||
| & | $count = 0, | ||
| & | $tablepath = '' ) |
Fill arrayofmesures for an object.
| mixed | $object | Any object |
| string | $tablealias | Alias of table ('t' for example) |
| string | $labelofobject | Label of object |
| array<string,array{label:string,labelnohtml:string,position:int,table:string,tablefromt:string}> | $arrayofxaxis Array of xaxis already filled | |
| int | $level | Level |
| int | $count | Count |
| string | $tablepath | Path of all tables ('t' or 't,contract' or 't,contract,societe'...) |
Definition at line 188 of file customreports.lib.php.
References $object, dol_eval(), dol_include_once(), fillArrayOfXAxis(), and img_picto().
Referenced by fillArrayOfXAxis().