Generates a control group with a check box.
public static checkBoxControlGroup ( string $name, boolean | string $checked = false, array $htmlOptions = [] ) : string | ||
$name | string | the input name. |
$checked | boolean | string | whether the check box is checked. |
$htmlOptions | array | additional HTML attributes. |
Résultat | string | the generated control group. |