Пример #1
0
 public function _action($action)
 {
     $controllers = ySitemapIndex::getInstance()->getControllers();
     if (isset($controllers[$action])) {
         response::xml();
         $this->runController($controllers[$action]);
         exit;
     }
     response::notFound();
 }
Пример #2
0
 /**
  * Deprecated
  * @param string $message
  */
 protected function _show404($message = '')
 {
     response::notFound();
 }
Пример #3
0
 public function notFound()
 {
     response::notFound();
     //$this->prepareShutdown();
 }