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