public function extract() { $requestPath = Steelcode_Server_Vars::getVar('PATH_INFO'); if ($requestPath === null) { $requestPath = $this->_generatePath(); } if ($requestPath === '/') { $this->_defaults(); } else { $this->_extractPath($requestPath); } if (!Steelcode_File_Helper::exists($this->_config->getControllerPath())) { $this->_pageNotFound(); } return $this->_config; }
/** * Returns controller path * * @return string */ public function getControllerPath() { return $this->_config->getControllerPath(); }