private function runModule() { switch ($this->sModule) { case "Home": $oController = new HomeController(); $oController->run($this->sAction, $this->asArgs, $this->sView); break; case "ShowRoom": $oController = new ShowRoomController(); $oController->run($this->sAction, $this->asArgs, $this->sView); break; case "Basic": $oController = new BasicController(); $oController->run($this->sAction, $this->asArgs, $this->sView); break; case "Products": $oController = new ProdutosController(); $oController->run($this->sAction, $this->asArgs, $this->sView); break; default: echo "Erro: Módulo não existe"; } /* switch ( $this->sModule ) */ }