0 follower

Final Class Yiisoft\Html\Widget\CheckboxList\CheckboxItem

InheritanceYiisoft\Html\Widget\CheckboxList\CheckboxItem

Property Details

Hide inherited properties

$checkboxAttributes public property
public array $checkboxAttributes null
$checked public property
public boolean $checked null
$encodeLabel public property
public boolean $encodeLabel null
$index public property
public integer $index null
$label public property
public string $label null
$labelAttributes public property
public array $labelAttributes = []
$labelWrap public property
public boolean $labelWrap true
$name public property
public string $name null
$value public property
public boolean|float|integer|string|\Stringable|null $value null

Method Details

Hide inherited methods

__construct() public method

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,
) {}