OXID eShop CE
6.0.2
|
Public Member Functions | |
__call ($method, $arguments) | |
__construct () | |
getConfig () | |
setConfig ($config) | |
getSession () | |
setSession ($session) | |
getUser () | |
setUser ($user) | |
isAdmin () | |
setAdminMode ($isAdmin) | |
Static Protected Attributes | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
Basic class which is used as parent class by other OXID eShop classes. It provides access to some basic objects and some basic functionality.
OxidEsales\EshopCommunity\Core\Base::__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent::__construct() in modules.
OxidEsales\EshopCommunity\Core\Base::__call | ( | $method, | |
$arguments | |||
) |
Only used for convenience in UNIT tests by doing so we avoid writing extended classes for testing protected or private methods
string | $method | Methods name |
array | $arguments | Argument array |
oxSystemComponentException | Throws an exception if the called method does not exist or is not accessable in current class |
OxidEsales\EshopCommunity\Core\Base::getConfig | ( | ) |
oxConfig instance getter
OxidEsales\EshopCommunity\Core\Base::getSession | ( | ) |
oxSession instance getter
OxidEsales\EshopCommunity\Core\Base::getUser | ( | ) |
Active user getter
OxidEsales\EshopCommunity\Core\Base::isAdmin | ( | ) |
Admin mode status getter
OxidEsales\EshopCommunity\Core\Base::setAdminMode | ( | $isAdmin | ) |
Admin mode setter
bool | $isAdmin | admin mode |
OxidEsales\EshopCommunity\Core\Base::setConfig | ( | $config | ) |
oxConfig instance setter
\OxidEsales\Eshop\Core\Config | $config | config object |
OxidEsales\EshopCommunity\Core\Base::setSession | ( | $session | ) |
oxSession instance setter
\OxidEsales\Eshop\Core\Session | $session | session object |
OxidEsales\EshopCommunity\Core\Base::setUser | ( | $user | ) |
Active oxuser object setter
\OxidEsales\Eshop\Application\Model\User | $user | user object |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |