/** * Field index method * * @return void */ public function index() { $this->prepareView('fields.phtml', array('assets' => $this->project->getAssets(), 'acl' => $this->project->getService('acl'), 'phireNav' => $this->project->getService('phireNav'))); $field = new Model\Field(array('acl' => $this->project->getService('acl'))); $field->getAll($this->request->getQuery('sort'), $this->request->getQuery('page')); $this->view->set('title', $this->view->i18n->__('Structure') . ' ' . $this->view->separator . ' ' . $this->view->i18n->__('Fields'))->set('table', $field->table); $this->send(); }