Function CMSStatsBlob->generate
Definitions
sources/stats.php
- Generate graph.
- Visibility: public
- Is abstract?: Yes
- Is static?: No
- Is final?: No
- Returns: object
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$graph_name | string | No | No | required parameter | N/A | N/A | Graph name |
$filters | array | No | No | required parameter | N/A | N/A | Filter settings to take precedence |
Returns
- Graph
- Type: Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Generate graph.
*
* @param string $graph_name Graph name
* @param array $filters Filter settings to take precedence
* @return Tempcode Graph
*/
abstract public function generate(string $graph_name, array $filters) : object
* Generate graph.
*
* @param string $graph_name Graph name
* @param array $filters Filter settings to take precedence
* @return Tempcode Graph
*/
abstract public function generate(string $graph_name, array $filters) : object