OXID eShop CE  4.10.2
 All Classes Namespaces Files Functions Variables Pages
shop.php
Go to the documentation of this file.
1 <?php
2 
9 class Shop extends oxAdminView
10 {
11 
18  public function render()
19  {
21 
22  $sCurrentAdminShop = oxRegistry::getSession()->getVariable("currentadminshop");
23 
24  if (!$sCurrentAdminShop) {
25  if (oxRegistry::getSession()->getVariable("malladmin")) {
26  $sCurrentAdminShop = "oxbaseshop";
27  } else {
28  $sCurrentAdminShop = oxRegistry::getSession()->getVariable("actshop");
29  }
30  }
31 
32  $this->_aViewData["currentadminshop"] = $sCurrentAdminShop;
33  oxRegistry::getSession()->setVariable("currentadminshop", $sCurrentAdminShop);
34 
35 
36  return "shop.tpl";
37  }
38 }