Final Class Yiisoft\Html\Widget\CheckboxList\CheckboxItem
| Inheritance | Yiisoft\Html\Widget\CheckboxList\CheckboxItem |
|---|
Public Properties
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Html\Widget\CheckboxList\CheckboxItem |
Property Details
Method Details
| public mixed __construct ( integer $index, string $name, boolean|float|integer|string|\Stringable|null $value, boolean $checked, array $checkboxAttributes, string $label, boolean $encodeLabel, array $labelAttributes = [], boolean $labelWrap = true ) | ||
| $index | integer | |
| $name | string | |
| $value | boolean|float|integer|string|\Stringable|null | |
| $checked | boolean | |
| $checkboxAttributes | array | |
| $label | string | |
| $encodeLabel | boolean | |
| $labelAttributes | array | |
| $labelWrap | boolean | |
public function __construct(
public int $index,
public string $name,
public bool|float|int|string|Stringable|null $value,
public bool $checked,
public array $checkboxAttributes,
public string $label,
public bool $encodeLabel,
public array $labelAttributes = [],
public bool $labelWrap = true,
) {}
Signup or Login in order to comment.