Example #1
0
 public function render()
 {
     $this->template->setFile($this->file);
     $this->template->paginator = $this->paginator;
     $this->template->steps = $this->getSteps();
     $this->template->ajax = $this->settings->isAjax();
     $this->template->pageCount = $this->paginator->pageCount;
     $this->template->page = $this->paginator->page;
     $this->template->use = $this->paginator->pageCount > 1;
     $this->template->prevLink = $this->prevLink();
     $this->template->nextLink = $this->nextLink();
     foreach ($this->onRender as $callback) {
         $callback();
     }
     $this->template->render();
 }