Example #1
0
 /**
  * Display a list of handler
  *
  * @return  void
  */
 public function displayTask()
 {
     // Get filters
     $this->view->filters = ['sort' => Request::getState($this->_option . '.' . $this->_controller . '.sort', 'filter_order', 'tool.title'), 'sort_Dir' => Request::getState($this->_option . '.' . $this->_controller . '.sortdir', 'filter_order_Dir', 'ASC')];
     $this->view->rows = Handler::all()->paginated('limitstart')->ordered('filter_order', 'filter_order_Dir')->rows();
     // Display results
     $this->view->display();
 }