public static activeRadio ( |
||
$model | the model object | |
$attribute | string | the attribute name or expression. See [[getAttributeName()]] for the format about attribute expression. |
$options | array | the tag options in terms of name-value pairs. See [[booleanInput()]] for details about accepted attributes. |
리턴 | string | the generated radio button tag |
public static function activeRadio($model, $attribute, $options = [])
{
return static::activeBooleanInput('radio', $model, $attribute, $options);
}