Function __global->stats_generate_data
Definitions
sources/stats.php
- Generate stats data.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$graph_name | string | required parameter | N/A | N/A | Graph name |
$filters | array | [] | N/A | N/A | Filter settings to take precedence |
$pivot | ?mixed | Null | N/A | N/A | Pivot value to take precedence (null: none) |
$hook_ob | ?object | Null | N/A | N/A | Hook object (null: look it up using $graph_name) |
$graph_details | ?array | Null | N/A | N/A | Graph details (null: look it up using $graph_name) |
$for_kpi | boolean | False | N/A | N/A | Whether this is for setting up a KPI |
Return
- Graph data in standard map format (null: unknown)
- Type: ?array
- Set: N/A
- Range: N/A