/** * Display password blacklist * * @return void */ public function displayTask() { // Incoming $filters = array('sort' => Request::getState($this->_option . '.' . $this->_controller . '.sort', 'filter_order', 'word'), 'sort_Dir' => Request::getState($this->_option . '.' . $this->_controller . '.sort_Dir', 'filter_order_Dir', 'ASC')); $rows = Blacklist::all()->order($filters['sort'], $filters['sort_Dir'])->paginated('limitstart', 'limit')->rows(); // Output the HTML $this->view->set('rows', $rows)->set('filters', $filters)->display(); }