Definition at line 6 of file oxsupercfg.php.
Public Member Functions | |
__call ($sMethod, $aArgs) | |
__construct () | |
getConfig () | |
setConfig ($oConfig) | |
getSession () | |
setSession ($oSession) | |
getUser () | |
setUser ($oUser) | |
isAdmin () | |
setAdminMode ($blAdmin) | |
Static Protected Attributes | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
oxSuperCfg.__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent.__construct() in modules.
Reimplemented in DynExportBase, Login, oxAdminView, oxActions, oxAttribute, oxBase, oxCategory, oxContent, oxCountry, oxDelivery, oxDeliverySet, oxDiscount, oxGbEntry, oxGroups, oxI18n, oxLinks, oxManufacturer, oxMediaUrl, oxNews, oxNewsletter, oxNewsSubscribed, oxObject2Group, oxOrder, oxOrderArticle, oxOrderArticleList, oxOutput, oxPayment, oxPricealarm, oxRating, oxRecommList, oxRemark, oxReview, oxSearch, oxSeoEncoder, oxShop, oxSimpleVariant, oxStatistic, oxUser, oxUserBasket, oxUserBasketItem, oxUserPayment, oxVendor, oxVoucher, oxVoucherList, oxVoucherSerie, and oxWrapping.
Definition at line 73 of file oxsupercfg.php.
oxSuperCfg.__call | ( | $ | sMethod, | |
$ | aArgs | |||
) |
Only used for convenience in UNIT tests by doing so we avoid writing extended classes for testing protected or private methods
string | $sMethod Methods name | |
array | $aArgs Argument array |
oxSystemComponentException | Throws an exception if the called method does not exist or is not accessable in current class |
Reimplemented in oxViewConfig.
Definition at line 54 of file oxsupercfg.php.
oxSuperCfg.getConfig | ( | ) |
oxSuperCfg.setConfig | ( | $ | oConfig | ) |
oxConfig instance setter
oxconfig | $oConfig config object |
Definition at line 105 of file oxsupercfg.php.
oxSuperCfg.getSession | ( | ) |
oxSuperCfg.setSession | ( | $ | oSession | ) |
oxSession instance setter
oxsession | $oSession session object |
Definition at line 143 of file oxsupercfg.php.
oxSuperCfg.getUser | ( | ) |
Active user getter
Reimplemented in oxDeliveryList, oxDeliverySetList, and oxNewslist.
Definition at line 158 of file oxsupercfg.php.
oxSuperCfg.setUser | ( | $ | oUser | ) |
Active oxuser object setter
oxuser | $oUser user object |
Reimplemented in oxDeliveryList, oxDeliverySetList, and oxNewslist.
Definition at line 188 of file oxsupercfg.php.
oxSuperCfg.isAdmin | ( | ) |
oxSuperCfg.setAdminMode | ( | $ | blAdmin | ) |
Admin mode setter
bool | $blAdmin admin mode |
Definition at line 219 of file oxsupercfg.php.
oxSuperCfg.$_oConfig = null [static, protected] |
Definition at line 13 of file oxsupercfg.php.
oxSuperCfg.$_oSession = null [static, protected] |
Definition at line 20 of file oxsupercfg.php.
oxSuperCfg.$_oRights = null [static, protected] |
Definition at line 27 of file oxsupercfg.php.
oxSuperCfg.$_oActUser = null [static, protected] |
Definition at line 34 of file oxsupercfg.php.
oxSuperCfg.$_blIsAdmin = null [static, protected] |
Definition at line 41 of file oxsupercfg.php.