Example #1
0
 function render()
 {
     $pages = $this->range($this->total);
     if (count($pages) == 0) {
         return '';
     }
     $page = $this->page;
     $link = $this->link;
     include \Yoda\Application::rootPath() . 'views' . DIRECTORY_SEPARATOR . 'pagination' . DIRECTORY_SEPARATOR . '_paginator.html.php';
 }