Пример #1
0
 /**
  * Renders a label beside the radio button.
  * @param THtmlWriter the writer for the rendering purpose
  * @param string radio button id
  * @param string label text
  */
 protected function renderLabel($writer, $clientID, $text)
 {
     $writer->addAttribute('id', $this->getDefaultLabelID());
     parent::renderLabel($writer, $clientID, $text);
 }