Example #1
0
 public function create()
 {
     if ($this->_total_pages < 2) {
         return '';
     }
     $data = array();
     foreach ($this as $key => $value) {
         $data[$key] = $value;
     }
     $data['page'] = $this;
     return \Core\View::core($data, 'Pager/View');
 }