Function __global->stats_find_graphs_in_category
Definitions
sources/stats.php
- Find all the graphs in a stats category.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $category_name | ?string | No | No | Null | N/A | N/A | The category name (null: all categories) |
Returns
- Map between graph name and pair of graph object and graph details
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find all the graphs in a stats category.
*
* @param ?string $category_name The category name (null: all categories)
* @return array Map between graph name and pair of graph object and graph details
*/
function stats_find_graphs_in_category(?string $category_name = null) : array
* Find all the graphs in a stats category.
*
* @param ?string $category_name The category name (null: all categories)
* @return array Map between graph name and pair of graph object and graph details
*/
function stats_find_graphs_in_category(?string $category_name = null) : array

