public function radio($name, $label, $options, $attr = array())
    {
        return $this->input(
            $name,
            $label,
            array_merge(
                $attr,
                array(
                    'type' => 'radio',
                    'options' => $options
                )
            )
        );
    }
public function radio($name, $label, $options, $attr = array())
    {
        return $this->input(
            $name,
            $label,
            array_merge(
                $attr,
                array(
                    'type' => 'radio',
                    'options' => $options
                )
            )
        );
    }
public function radio ( $ name , $ label , $ options , $ attr = array ( ) ) { return $ this -> input ( $ name , $ label , array_merge ( $ attr , array ( 'type' => 'radio' , 'options' => $ options ) ) ) ; }
generate a group of radio buttons

@param   string          input name (dot notation for multi-dimensional array)
@param   string|array    Label string or array of label value and attributes
@param   array           radio Options
@param   array           input attributes
@return  string
generate a group of radio buttons