LaravelBook\Laravel4Powerpack\Form::radio PHP Method

radio() public method

Create a HTML radio button input element.
public radio ( string $name, string $value = null, boolean $checked = false, array $attributes = [] ) : string
$name string
$value string
$checked boolean
$attributes array
return string
    public function radio($name, $value = null, $checked = false, $attributes = array())
    {
        if (is_null($value)) {
            $value = $name;
        }
        return $this->checkable('radio', $name, $value, $checked, $attributes);
    }