Description

__construct(string $name, array $values, mixed $checked = null, string $class = 'inputCheckbox')

Class constructor.

Parameters

string $name
The name.
array $values
The possible values. Each value should have a label and value-key.
mixed $checked = null
The value that should be checked.
string $class = 'inputCheckbox'
The CSS-class to be used.

Comment