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 |
Super config class
Definition at line 6 of file oxsupercfg.php.
oxSuperCfg.__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent.__construct() in modules.
Reimplemented in DynExportBase, Login, oxAdminView, VoucherSerie_Export, oxActions, oxAddress, oxAttribute, oxCountry, oxDelivery, oxDeliverySet, oxDiscount, oxFile, oxGbEntry, oxGroups, oxLinks, oxMediaUrl, oxNews, oxNewsletter, oxNewsSubscribed, oxObject2Group, oxOrder, oxOrderFile, oxPayment, oxPricealarm, oxRating, oxRemark, oxReview, oxSearch, oxShop, oxState, oxStatistic, oxTagCloud, oxUser, oxUserBasket, oxUserBasketItem, oxUserPayment, oxVoucher, oxVoucherSerie, oxWrapping, oxBase, oxI18n, oxInputValidator, oxOutput, oxSeoEncoder, oxUtilsFile, and oxWidgetControl.
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 |
Definition at line 54 of file oxsupercfg.php.
oxSuperCfg.getConfig | ( | ) |
oxSuperCfg.getSession | ( | ) |
oxSuperCfg.getUser | ( | ) |
Active user getter
Reimplemented in User_Payment.
Definition at line 158 of file oxsupercfg.php.
oxSuperCfg.isAdmin | ( | ) |
oxSuperCfg.setAdminMode | ( | $ | blAdmin | ) |
Admin mode setter
bool | $blAdmin admin mode |
Definition at line 220 of file oxsupercfg.php.
oxSuperCfg.setConfig | ( | $ | oConfig | ) |
oxConfig instance setter
oxconfig | $oConfig config object |
Definition at line 105 of file oxsupercfg.php.
oxSuperCfg.setSession | ( | $ | oSession | ) |
oxSession instance setter
oxsession | $oSession session object |
Definition at line 143 of file oxsupercfg.php.
oxSuperCfg.setUser | ( | $ | oUser | ) |
Active oxuser object setter
oxuser | $oUser user object |
Definition at line 189 of file oxsupercfg.php.
oxSuperCfg.$_blIsAdmin = null [static, protected] |
Definition at line 41 of file oxsupercfg.php.
oxSuperCfg.$_oActUser = null [static, protected] |
Definition at line 34 of file oxsupercfg.php.
oxSuperCfg.$_oConfig = null [static, protected] |
Definition at line 13 of file oxsupercfg.php.
oxSuperCfg.$_oRights = null [static, protected] |
Definition at line 27 of file oxsupercfg.php.
oxSuperCfg.$_oSession = null [static, protected] |
Definition at line 20 of file oxsupercfg.php.