Prado\Web\UI\TControlAdapter::render PHP Метод

render() публичный Метод

Default implementation calls the attached control's corresponding method.
public render ( $writer )
    public function render($writer)
    {
        $this->_control->render($writer);
    }

Usage Example

Пример #1
0
 /**
  * Renders the callback client scripts.
  */
 public function render($writer)
 {
     $this->getPage()->getClientScript()->registerPradoScript('ajax');
     if ($this->_control->getVisible(false)) {
         parent::render($writer);
     } else {
         $writer->write("<span id=\"" . $this->_control->getClientID() . "\" style=\"display:none\"></span>");
     }
 }