Function CMSStatsListFilter->__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 |
$label | Tempcode | No | No | required parameter | N/A | N/A | Label |
$list | array | No | No | required parameter | N/A | N/A | List (a map) |
$default | string | No | No | Blank (empty string) | N/A | N/A | Default |
Preview
Code (PHP)
/**
* Constructor.
*
* @param string $filter_name Filter name
* @param Tempcode $label Label
* @param array $list List (a map)
* @param string $default Default
*/
public function __construct(string $filter_name, object $label, array $list, string $default = '')
* Constructor.
*
* @param string $filter_name Filter name
* @param Tempcode $label Label
* @param array $list List (a map)
* @param string $default Default
*/
public function __construct(string $filter_name, object $label, array $list, string $default = '')