src/Html/FormBuilder.php
public function radio($name, $value = null, $checked = null, $options = array())
    {
        if (is_null($value)) {
            $value = $name;
        }

        return $this->checkable('radio', $name, $value, $checked, $options);
    }
public function radio($name, $value = null, $checked = null, $options = array())
    {
        if (is_null($value)) {
            $value = $name;
        }

        return $this->checkable('radio', $name, $value, $checked, $options);
    }
public function radio ( $ name , $ value = null , $ checked = null , $ options = array ( ) ) { if ( is_null ( $ value ) ) { $ value = $ name ; } return $ this -> checkable ( 'radio' , $ name , $ value , $ checked , $ options ) ; }
Create a radio button input field.

@param string $name
@param mixed  $value
@param bool   $checked
@param array  $options

@return string
Create a radio button input field .