/** * Завершение работы роутинга * * @param bool $bExit Принудительно завершить выполнение скрипта */ public function Shutdown($bExit = true) { $this->AssignVars(); $this->oEngine->Shutdown(); $this->Viewer_Display($this->oAction->GetTemplate()); if ($bExit) { exit; } }
/** * Завершение работы роутинга * * @param bool $bExit Принудительно завершить выполнение скрипта */ public function Shutdown($bExit = true) { $this->AssignVars(); $this->oEngine->Shutdown(); if (self::$bAutoDisplay) { E::ModuleViewer()->Display($this->oAction->GetTemplate()); } if ($bExit) { exit; } }