Renders a radio button list for a model attribute.
This method is a wrapper of {@link CHtml::activeRadioButtonList}.
Please check {@link CHtml::activeRadioButtonList} for detailed information
about the parameters for this method.
public radioButtonList ( CModel $model, string $attribute, array $data, array $htmlOptions = [] ) : string | ||
$model | CModel | the data model |
$attribute | string | the attribute |
$data | array | value-label pairs used to generate the radio button list. |
$htmlOptions | array | additional HTML options. |
return | string | the generated radio button list |