Generates a check box list.
public static checkBoxList ( string $name, mixed $select, array $data, array $htmlOptions = [] ) : string | ||
$name | string | name of the check box list. |
$select | mixed | selection of the check boxes. |
$data | array | $data value-label pairs used to generate the check box list. |
$htmlOptions | array | additional HTML attributes. |
return | string | the generated list. |