protected function renderRadio($name, $value, $options)
    {
        $options['tabindex'] = self::TABINDEX;

        if (!isset($options['label'])) {
            $options['label'] = '';
        }

        if (!array_key_exists('uncheck', $options)) {
            $options['uncheck'] = 0;
        }

        $input = Html::radio($name, $value, $options);

        return Html::tag('div', $input, ['class' => 'radio']);
    }
protected function renderRadio($name, $value, $options)
    {
        $options['tabindex'] = self::TABINDEX;

        if (!isset($options['label'])) {
            $options['label'] = '';
        }

        if (!array_key_exists('uncheck', $options)) {
            $options['uncheck'] = 0;
        }

        $input = Html::radio($name, $value, $options);

        return Html::tag('div', $input, ['class' => 'radio']);
    }
protected function renderRadio ( $ name , $ value , $ options ) { $ options [ 'tabindex' ] = self :: TABINDEX ; if ( ! isset ( $ options [ 'label' ] ) ) { $ options [ 'label' ] = '' ; } if ( ! array_key_exists ( 'uncheck' , $ options ) ) { $ options [ 'uncheck' ] = 0 ; } $ input = Html :: radio ( $ name , $ value , $ options ) ; return Html :: tag ( 'div' , $ input , [ 'class' => 'radio' ] ) ; }
Renders radio button.

@param string    $name the name of input
@param mixed     $value the value of input
@param array     $options the HTMl options of input
@return string
Renders radio button .