oxSuperCfg Class Reference

Inheritance diagram for oxSuperCfg:
Inheritance graph
[legend]
Collaboration diagram for oxSuperCfg:
Collaboration graph
[legend]

List of all members.

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

oxSuperCfg.__construct (  ) 

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 $sMethod Methods name
array $aArgs Argument array
Exceptions:
oxSystemComponentException Throws an exception if the called method does not exist or is not accessable in current class
Returns:
string

Reimplemented in oxViewConfig.

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 User_Payment, oxDeliveryList, oxDeliverySetList, and oxNewslist.

Definition at line 158 of file oxsupercfg.php.

oxSuperCfg.isAdmin (  ) 

Admin mode status getter

Returns:
bool

Definition at line 203 of file oxsupercfg.php.

oxSuperCfg.setAdminMode ( blAdmin  ) 

Admin mode setter

Parameters:
bool $blAdmin admin mode
Returns:
null

Definition at line 219 of file oxsupercfg.php.

oxSuperCfg.setConfig ( oConfig  ) 

oxConfig instance setter

Parameters:
oxconfig $oConfig config object
Returns:
null

Definition at line 105 of file oxsupercfg.php.

oxSuperCfg.setSession ( oSession  ) 

oxSession instance setter

Parameters:
oxsession $oSession session object
Returns:
null

Definition at line 143 of file oxsupercfg.php.

oxSuperCfg.setUser ( oUser  ) 

Active oxuser object setter

Parameters:
oxuser $oUser user object
Returns:
null

Reimplemented in oxDeliveryList, oxDeliverySetList, and oxNewslist.

Definition at line 188 of file oxsupercfg.php.


Member Data Documentation

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.


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

Generated by  doxygen 1.6.2