OXID eShop CE  4.9.8
 All Classes Files Functions Variables Pages
oxSuperCfg Class Reference
+ Inheritance diagram for oxSuperCfg:
+ Collaboration diagram for oxSuperCfg:

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

Detailed Description

Super config class

Definition at line 6 of file oxsupercfg.php.

Constructor & Destructor Documentation

Member Function Documentation

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

Parameters
string$sMethodMethods name
array$aArgsArgument array
Exceptions
oxSystemComponentExceptionThrows an exception if the called method does not exist or is not accessable in current class
Returns
string

Definition at line 55 of file oxsupercfg.php.

oxSuperCfg::getConfig ( )

oxConfig instance getter

Returns
oxconfig

Definition at line 83 of file oxsupercfg.php.

oxSuperCfg::getSession ( )

oxSession instance getter

Returns
oxsession

Definition at line 123 of file oxsupercfg.php.

oxSuperCfg::getUser ( )

Active user getter

Returns
oxUser

Reimplemented in oxDeliveryList, oxDeliverySetList, User_Payment, and oxNewslist.

Definition at line 163 of file oxsupercfg.php.

oxSuperCfg::isAdmin ( )

Admin mode status getter

Returns
bool

Definition at line 211 of file oxsupercfg.php.

oxSuperCfg::setAdminMode (   $blAdmin)

Admin mode setter

Parameters
bool$blAdminadmin mode

Definition at line 225 of file oxsupercfg.php.

oxSuperCfg::setConfig (   $oConfig)

oxConfig instance setter

Parameters
oxconfig$oConfigconfig object
Returns
null

Definition at line 107 of file oxsupercfg.php.

oxSuperCfg::setSession (   $oSession)

oxSession instance setter

Parameters
oxsession$oSessionsession object
Returns
null

Definition at line 147 of file oxsupercfg.php.

oxSuperCfg::setUser (   $oUser)

Active oxuser object setter

Parameters
oxuser$oUseruser object
Returns
null

Reimplemented in oxDeliveryList, oxDeliverySetList, and oxNewslist.

Definition at line 195 of file oxsupercfg.php.

Member Data Documentation

oxSuperCfg::$_blIsAdmin = null
staticprotected

Definition at line 42 of file oxsupercfg.php.

oxSuperCfg::$_oActUser = null
staticprotected

Definition at line 35 of file oxsupercfg.php.

oxSuperCfg::$_oConfig = null
staticprotected

Definition at line 14 of file oxsupercfg.php.

oxSuperCfg::$_oRights = null
staticprotected

Definition at line 28 of file oxsupercfg.php.

oxSuperCfg::$_oSession = null
staticprotected

Definition at line 21 of file oxsupercfg.php.


The documentation for this class was generated from the following file: