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