/** * Processes the dispatch * * @return bool */ private function _process() { $this->_hasResult = $this->_router->getResult(); $this->_parameters = $this->_router->getParams(); if ($this->_parameters !== false) { $type = $this->_parameters["type"]; } if ($this->_hasResult === false) { $type = "error"; } return $this->_dispatch($type); }