public function radioButtonListField(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $radios = !empty($options['radios']) ? $options['radios'] : [];
        $format = !empty($options['format']) ? $options['format'] : '<p>%radio% %text%</p>';

        return Html::radioButtonList($element['name'], $radios, $format, $element['value']);
    }
public function radioButtonListField(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $radios = !empty($options['radios']) ? $options['radios'] : [];
        $format = !empty($options['format']) ? $options['format'] : '<p>%radio% %text%</p>';

        return Html::radioButtonList($element['name'], $radios, $format, $element['value']);
    }
public function radioButtonListField ( IFormModel $ model , $ property , array $ options = [ ] ) { $ element = $ this -> getField ( $ model , $ property ) ; $ radios = ! empty ( $ options [ 'radios' ] ) ? $ options [ 'radios' ] : [ ] ; $ format = ! empty ( $ options [ 'format' ] ) ? $ options [ 'format' ] : '<p>%radio% %text%</p>' ; return Html :: radioButtonList ( $ element [ 'name' ] , $ radios , $ format , $ element [ 'value' ] ) ; }
Render radio button list tag

@access public

@param IFormModel $model model
@param string $property model property
@param array $options options array

@return string
Render radio button list tag