Ouzo\Helper\ModelFormBuilder::radioField PHP Method

radioField() public method

public radioField ( $field, array $options = [] )
$options array
    public function radioField($field, array $options = array())
    {
        $attributes = $this->_generatePredefinedAttributes($field);
        $attributes = $this->_mergeAttributes($attributes, $options);
        return radioButtonTag($this->generateName($field), $this->_object->{$field}, $attributes);
    }