/** * Add rating style class name to the class attribute * when {@link setReadOnly ReadOnly} property is true and when the * {@link setCssClass CssClass} property is empty. * @param THtmlWriter renderer */ public function render($writer) { $writer->addAttribute('id', $this->getClientID()); $this->getPage()->getClientScript()->registerPostBackControl($this->getClientClassName(), $this->getPostBackOptions()); parent::render($writer); }