Property | Type | Description | |
---|---|---|---|
$encodeLabels | whether the items labels should be HTML-encoded. | ||
$items | the data item used to generate the checkboxes. The array values are the labels, while the array keys are the corresponding checkbox or radio values. | ||
$labelOptions | |||
$type | input type, can be: - 'checkbox' - 'radio' |
Method | Description | |
---|---|---|
init ( ) | ||
renderItem ( integer $index, string $label, string $name, boolean $checked, string $value ) : string | Default callback for checkbox/radio list item rendering. | |
run ( ) |
public $items |