code: protected function renderInput()
      {
          return $this->hasModel()
              ? Html::activeRadio($this->model, $this->attribute, $this->options)
              : Html::radio($this->name, $this->checked, $this->options);
      }
docs: Generates the Radio input
  
  @return string the generated radio input tag