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

Public Member Functions

 __construct ()
 start ($sClass=null, $sFunction=null, $aParams=null, $aViewsChain=null)
- Public Member Functions inherited from oxShopControl
 getTotalTime ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _runOnce ()
 _runLast ()
 _initializeViewObject ($sClass, $sFunction, $aParams=null, $aViewsChain=null)
- Protected Member Functions inherited from oxShopControl
 _setDefaultExceptionHandler ()
 _log ($sClass, $sFnc)
 _startMonitor ()
 _stopMonitor ($blIsCache=false, $blIsCached=false, $sViewID=null, $aViewData=array())
 _executeMaintenanceTasks ()
 _process ($sClass, $sFunction, $aParams=null, $aViewsChain=null)
 _canExecuteFunction ($oClass, $sFunction)
 _getFormattedErrors ($sControllerName)
 _render ($oViewObject)
 _getOutputManager ()
 _getErrors ($sCurrentControllerName)
 _getErrorReportingLevel ()
 _isDebugMode ()
 _handleSystemException ($oEx)
 _handleCookieException ($oEx)
 _handleAccessRightsException ($oEx)
 _handleDbConnectionException ($oEx)
 _handleBaseException ($oEx)
 _getStartController ()
 _getFrontendStartController ()
 _getFrontendMallStartController ()

Protected Attributes

 $_blHandlerSet = true
 $_blMainTasksExecuted = true
- Protected Attributes inherited from oxShopControl
 $_blHandlerSet = null
 $_blMainTasksExecuted = null
 $_dTimeStart = null
 $_dTimeEnd = null
 $_aErrors = null
 $_aAllErrors = null
 $_aControllerErrors = null
 $_oOutput = null
 $_oCache = null

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Main shop actions controller. Processes user actions, logs them (if needed), controls output, redirects according to processed methods logic. This class is initialized from index.php

Definition at line 8 of file oxwidgetcontrol.php.

Constructor & Destructor Documentation

oxWidgetControl::__construct ( )

Create object and ensure that params have correct value.

Reimplemented from oxSuperCfg.

Definition at line 29 of file oxwidgetcontrol.php.

Member Function Documentation

oxWidgetControl::_initializeViewObject (   $sClass,
  $sFunction,
  $aParams = null,
  $aViewsChain = null 
)
protected

Initialize and return widget view object

Parameters
string$sClassview name
string$sFunctionfunction name
array$aParamsParameters array
array$aViewsChainArray of views names that should be initialized also
Returns
oxView Current active view

Reimplemented from oxShopControl.

Definition at line 99 of file oxwidgetcontrol.php.

oxWidgetControl::_runLast ( )
protected

Runs actions that should be performed at the controller finish.

Definition at line 75 of file oxwidgetcontrol.php.

oxWidgetControl::_runOnce ( )
protected

This function is only executed one time here we perform checks if we only need once per session. There is no need to execute it if there is views chain as parent view already executed it.

Returns
null

Reimplemented from oxShopControl.

Definition at line 66 of file oxwidgetcontrol.php.

oxWidgetControl::start (   $sClass = null,
  $sFunction = null,
  $aParams = null,
  $aViewsChain = null 
)

Main shop widget manager. Sets needed parameters and calls parent::start method.

Session variables: actshop

Parameters
string$sClassClass name
string$sFunctionFunction name
array$aParamsParameters array
array$aViewsChainArray of views names that should be initialized also

Reimplemented from oxShopControl.

Definition at line 45 of file oxwidgetcontrol.php.

Member Data Documentation

oxWidgetControl::$_blHandlerSet = true
protected

Definition at line 17 of file oxwidgetcontrol.php.

oxWidgetControl::$_blMainTasksExecuted = true
protected

Definition at line 24 of file oxwidgetcontrol.php.


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