/** * Update * * @return void */ public function updateTask() { $this->view->results = $this->req->anyCriteria() ? json_decode(Client::execView('search', $this->req->getTransportCriteria(array('limit' => $this->perPage))), TRUE) : NULL; define('HG_AJAX', 1); $this->view->req = $this->req; $this->view->tags = $this->req->getTags(); $this->view->users = $this->req->getContributors(); $this->view->groups = $this->req->getGroup(); $this->view->domainMap = $this->req->getDomainMap(); $this->view->loggedIn = (bool) \User::get('id'); $this->view->perPage = $this->perPage; ksort($this->view->domainMap); $this->view->set('base', $this->base)->setLayout('index-update')->display(); }