Go to the documentation of this file.00001 <?php
00002
00009 class Shop extends oxAdminView
00010 {
00011
00018 public function render()
00019 {
00020 parent::render();
00021
00022 $sCurrentAdminShop = oxRegistry::getSession()->getVariable("currentadminshop");
00023
00024 if (!$sCurrentAdminShop) {
00025 if (oxRegistry::getSession()->getVariable("malladmin")) {
00026 $sCurrentAdminShop = "oxbaseshop";
00027 } else {
00028 $sCurrentAdminShop = oxRegistry::getSession()->getVariable("actshop");
00029 }
00030 }
00031
00032 $this->_aViewData["currentadminshop"] = $sCurrentAdminShop;
00033 oxRegistry::getSession()->setVariable("currentadminshop", $sCurrentAdminShop);
00034
00035
00036 return "shop.tpl";
00037 }
00038 }