Function CMSStatsDateMonthRangeFilter->set_default
Definitions
sources/stats.php
- Set the default. Useful when defaults are saved, rather than in the GET environment.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$default | mixed | required parameter | N/A | N/A | The new default |
$for_kpi | ?boolean | Null | N/A | N/A | Whether this is a setting for a KPI (null: as object was initiated) |