| 
    OXID eShop CE
    4.8.12
    
   | 
 
 Inheritance diagram for oxShopControl:
 Collaboration diagram for oxShopControl:Public Member Functions | |
| start ($sClass=null, $sFunction=null, $aParams=null, $aViewsChain=null) | |
| getTotalTime () | |
  Public Member Functions inherited from oxSuperCfg | |
| __call ($sMethod, $aArgs) | |
| __construct () | |
| getConfig () | |
| setConfig ($oConfig) | |
| getSession () | |
| setSession ($oSession) | |
| getUser () | |
| setUser ($oUser) | |
| isAdmin () | |
| setAdminMode ($blAdmin) | |
Protected Member Functions | |
| _setDefaultExceptionHandler () | |
| _log ($sClass, $sFnc) | |
| _startMonitor () | |
| _stopMonitor ($blIsCache=false, $blIsCached=false, $sViewID=null, $aViewData=array()) | |
| _executeMaintenanceTasks () | |
| _process ($sClass, $sFunction, $aParams=null, $aViewsChain=null) | |
| _initializeViewObject ($sClass, $sFunction, $aParams=null, $aViewsChain=null) | |
| _canExecuteFunction ($oClass, $sFunction) | |
| _getFormattedErrors ($sControllerName) | |
| _render ($oViewObject) | |
| _getOutputManager () | |
| _getErrors ($sCurrentControllerName) | |
| _runOnce () | |
| _isDebugMode () | |
| _handleSystemException ($oEx) | |
| _handleCookieException ($oEx) | |
| _handleAccessRightsException ($oEx) | |
| _handleDbConnectionException ($oEx) | |
| _handleBaseException ($oEx) | |
| _getControllerToLoad ($sClass=null) | |
Protected Attributes | |
| $_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 | 
Main shop actions controller. Processes user actions, logs them (if needed), controlls output, redirects according to processed methods logic. This class is initalized from index.php
Definition at line 8 of file oxshopcontrol.php.
      
  | 
  protected | 
Check if method can be executed.
| object | $oClass | object to check if its method can be executed. | 
| string | $sFunction | method to check if it can be executed. | 
Definition at line 396 of file oxshopcontrol.php.
      
  | 
  protected | 
Executes regular maintenance functions..
Definition at line 265 of file oxshopcontrol.php.
      
  | 
  protected | 
Returns controller class which should be loaded.
| string | $sClass | 
Definition at line 685 of file oxshopcontrol.php.
      
  | 
  protected | 
return page errors array
| string | $sCurrentControllerName | a class name | 
Definition at line 509 of file oxshopcontrol.php.
      
  | 
  protected | 
format error messages from _getErrors and return as array
| string | $sControllerName | a class name | 
Definition at line 417 of file oxshopcontrol.php.
      
  | 
  protected | 
      
  | 
  protected | 
R&R handling -> redirect to error msg, also, can call _process again, specifying error handler view class.
| $oEx | 
Definition at line 644 of file oxshopcontrol.php.
      
  | 
  protected | 
Catching other not cought exceptions.
| oxException | $oEx | 
Definition at line 669 of file oxshopcontrol.php.
      
  | 
  protected | 
Redirect to start page, in debug mode shows error message.
| $oEx | 
Definition at line 631 of file oxshopcontrol.php.
      
  | 
  protected | 
Shows exception message if debug mode is enabled, redirects otherwise.
| oxConnectionException | $oEx | message to show on exit | 
Definition at line 654 of file oxshopcontrol.php.
      
  | 
  protected | 
Shows exceptionError page. possible reason: class does not exist etc. –> just redirect to start page.
| $oEx | 
Definition at line 611 of file oxshopcontrol.php.
      
  | 
  protected | 
initialize and return view object
| string | $sClass | view name | 
| string | $sFunction | function name | 
| array | $aParams | parameters array | 
| array | $aViewsChain | array of views names that should be initialized also | 
Reimplemented in oxWidgetControl.
Definition at line 368 of file oxshopcontrol.php.
      
  | 
  protected | 
      
  | 
  protected | 
Logs user performed actions to DB. Skips action logging if it's search engine.
| string | $sClass | Name of class | 
| string | $sFnc | Name of executed class method | 
Definition at line 140 of file oxshopcontrol.php.
      
  | 
  protected | 
Initiates object (object::init()), executes passed function (oxShopControl::executeFunction(), if method returns some string - will redirect page and will call another function according to returned parameters), renders object (object::render()). Performs output processing oxOutput::ProcessViewArray(). Passes template variables to template engine witch generates output. Output is additionally processed (oxOutput::Process()), fixed links according search engines optimization rules (configurable in Admin area). Finally echoes the output.
| string | $sClass | Name of class | 
| string | $sFunction | Name of function | 
| array | $aParams | Parameters array | 
| array | $aViewsChain | Array of views names that should be initialized also | 
Definition at line 293 of file oxshopcontrol.php.
      
  | 
  protected | 
render oxView object
| oxView | $oViewObject | view object to render | 
Definition at line 439 of file oxshopcontrol.php.
      
  | 
  protected | 
This function is only executed one time here we perform checks if we only need once per session
Reimplemented in oxWidgetControl.
Definition at line 541 of file oxshopcontrol.php.
      
  | 
  protected | 
Sets default exception handler. Ideally all exceptions should be handled with try catch and default exception should never be reached.
Definition at line 123 of file oxshopcontrol.php.
      
  | 
  protected | 
      
  | 
  protected | 
Stops resource monitor, summarizes and outputs values
| bool | $blIsCache | Is content cache | 
| bool | $blIsCached | Is content cached | 
| bool | $sViewID | View ID | 
| array | $aViewData | View data | 
Definition at line 191 of file oxshopcontrol.php.
| oxShopControl::getTotalTime | ( | ) | 
Returns the difference between stored profiler end time and start time. Works only after _stopMonitor() is called, otherwise returns 0.
Definition at line 251 of file oxshopcontrol.php.
| oxShopControl::start | ( | $sClass = null,  | 
        |
$sFunction = null,  | 
        |||
$aParams = null,  | 
        |||
$aViewsChain = null  | 
        |||
| ) | 
Main shop manager, that sets shop status, executes configuration methods. Executes oxShopControl::_runOnce(), if needed sets default class (according to admin or regular activities). Additionaly its possible to pass class name, function name and parameters array to view, which will be executed.
Session variables: actshop
| string | $sClass | Class name | 
| string | $sFunction | Funtion name | 
| array | $aParams | Parameters array | 
| array | $aViewsChain | Array of views names that should be initialized also | 
Reimplemented in oxWidgetControl.
Definition at line 94 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 55 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 64 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 46 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 16 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 23 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 37 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 30 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 76 of file oxshopcontrol.php.
      
  | 
  protected | 
Definition at line 74 of file oxshopcontrol.php.