OXID eShop CE  4.8.10
 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 54 of file oxsupercfg.php.

oxSuperCfg::getConfig ( )

oxConfig instance getter

Returns
oxconfig

Definition at line 82 of file oxsupercfg.php.

oxSuperCfg::getSession ( )

oxSession instance getter

Returns
oxsession

Definition at line 120 of file oxsupercfg.php.

oxSuperCfg::getUser ( )

Active user getter

Returns
oxuser

Reimplemented in oxDeliveryList, oxDeliverySetList, User_Payment, and oxNewslist.

Definition at line 158 of file oxsupercfg.php.

oxSuperCfg::isAdmin ( )

Admin mode status getter

Returns
bool

Definition at line 204 of file oxsupercfg.php.

oxSuperCfg::setAdminMode (   $blAdmin)

Admin mode setter

Parameters
bool$blAdminadmin mode
Returns
null

Definition at line 220 of file oxsupercfg.php.

oxSuperCfg::setConfig (   $oConfig)

oxConfig instance setter

Parameters
oxconfig$oConfigconfig object
Returns
null

Definition at line 105 of file oxsupercfg.php.

oxSuperCfg::setSession (   $oSession)

oxSession instance setter

Parameters
oxsession$oSessionsession object
Returns
null

Definition at line 143 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 189 of file oxsupercfg.php.

Member Data Documentation

oxSuperCfg::$_blIsAdmin = null
staticprotected

Definition at line 41 of file oxsupercfg.php.

oxSuperCfg::$_oActUser = null
staticprotected

Definition at line 34 of file oxsupercfg.php.

oxSuperCfg::$_oConfig = null
staticprotected

Definition at line 13 of file oxsupercfg.php.

oxSuperCfg::$_oRights = null
staticprotected

Definition at line 27 of file oxsupercfg.php.

oxSuperCfg::$_oSession = null
staticprotected

Definition at line 20 of file oxsupercfg.php.


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