示例#1
0
 protected function render()
 {
     if ($this->headerTemplate != null) {
         eval("?>" . $this->headerTemplate);
     }
     for ($i = 0; $i < $this->model->rowCount(); $i++) {
         $this->currentRow = $this->model->getHeaderData($i, Orientation::VERTICAL);
         eval("?>" . $this->bodyTemplate);
     }
     if ($this->footerTemplate != null) {
         eval("?>" . $this->footerTemplate);
     }
 }