Renders a label beside the checkbox.
protected renderLabel ( $writer, $clientID, $text ) |
/** * Renders a label beside the checkbox. * @param THtmlWriter the writer for the rendering purpose * @param string checkbox id * @param string label text */ protected function renderLabel($writer, $clientID, $text) { $writer->addAttribute('id', $this->getDefaultLabelID()); parent::renderLabel($writer, $clientID, $text); }