Function CMSStatsDatePivot->__construct
Definitions
sources/stats.php
- Constructor.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$filter_name | string | No | No | required parameter | N/A | N/A | Filter name |
$pivot_values | array | No | No | required parameter | N/A | N/A | List of possible pivot values |
$default | string | No | No | day_series | N/A | N/A | Default |
Preview
Code (PHP)
/**
* Constructor.
*
* @param string $filter_name Filter name
* @param array $pivot_values List of possible pivot values
* @param string $default Default
*/
public function __construct(string $filter_name, array $pivot_values, string $default = 'day_series')
* Constructor.
*
* @param string $filter_name Filter name
* @param array $pivot_values List of possible pivot values
* @param string $default Default
*/
public function __construct(string $filter_name, array $pivot_values, string $default = 'day_series')