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

Renders the datagrid.
public render ( $writer )
Пример #1
0
 /**
  * Renders the datagrid by writing a {@link getSurroundingTag()} with the container id obtained
  * from {@link getSurroundingTagId()} which will be called by the replacement method of the client
  * script to update it's content.
  * @param THtmlWriter writer for the rendering purpose
  */
 private function renderDataGrid($writer)
 {
     $writer->addAttribute('id', $this->getSurroundingTagID());
     $writer->renderBeginTag($this->getSurroundingTag());
     parent::render($writer);
     $writer->renderEndTag();
 }