OXID eShop CE
4.9.6
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
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
{
20
parent::render
();
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
}
application
controllers
admin
shop.php
Generated by
1.8.1.2