26 $oModule =
oxNew(
'oxModule');
29 if ($oModule->load($sModuleId)) {
32 $this->_aViewData[
"oModule"] = $oModule;
33 $this->_aViewData[
"sModuleName"] = basename($oModule->getInfo(
"title", $iLang));
34 $this->_aViewData[
"sModuleId"] = str_replace(
"/",
"_", $oModule->getModulePath());
42 return 'module_main.tpl';
54 $oModule =
oxNew(
'oxModule');
55 if (!$oModule->load($sModule)) {
62 $oModuleCache =
oxNew(
'oxModuleCache', $oModule);
64 $oModuleInstaller =
oxNew(
'oxModuleInstaller', $oModuleCache);
66 if ($oModuleInstaller->activate($oModule)) {
67 $this->_aViewData[
"updatenav"] =
"1";
84 $oModule =
oxNew(
'oxModule');
85 if (!$oModule->load($sModule)) {
92 $oModuleCache =
oxNew(
'oxModuleCache', $oModule);
94 $oModuleInstaller =
oxNew(
'oxModuleInstaller', $oModuleCache);
96 if ($oModuleInstaller->deactivate($oModule)) {
97 $this->_aViewData[
"updatenav"] =
"1";