/** * Role index method * * @return void */ public function index() { $this->prepareView('roles.phtml', array('assets' => $this->project->getAssets(), 'acl' => $this->project->getService('acl'), 'phireNav' => $this->project->getService('phireNav'))); $this->view->set('title', $this->view->i18n->__('User Roles')); $role = new Model\UserRole(array('acl' => $this->project->getService('acl'))); $role->getAll($this->request->getQuery('sort'), $this->request->getQuery('page')); $this->view->set('table', $role->table); $this->send(); }