renderInputTag() protected method

Renders a radiobutton input element.
protected renderInputTag ( $writer, $clientID, $onclick )
 /**
  * Override client implementation to avoid emitting the javascript
  *
  * @param THtmlWriter the writer for the rendering purpose
  * @param string checkbox id
  * @param string onclick js
  */
 protected function renderInputTag($writer, $clientID, $onclick)
 {
     TRadioButton::renderInputTag($writer, $clientID, $onclick);
 }
示例#2
0
 /**
  * Ensure that the ID attribute is rendered and registers the javascript code
  * for initializing the active control.
  * Since 3.1.4, the javascript code is not rendered if {@link setAutoPostBack AutoPostBack} is false
  *
  */
 protected function renderInputTag($writer, $clientID, $onclick)
 {
     parent::renderInputTag($writer, $clientID, $onclick);
     if ($this->getAutoPostBack()) {
         $this->getActiveControl()->registerCallbackClientScript($this->getClientClassName(), $this->getPostBackOptions());
     }
 }