OXID eShop CE
4.9.6
|
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 () | |
_initializeViewObject ($sClass, $sFunction, $aParams=null, $aViewsChain=null) | |
_canExecuteFunction ($oClass, $sFunction) | |
_getFormattedErrors ($sControllerName) | |
_render ($oViewObject) | |
_getOutputManager () | |
_getErrors ($sCurrentControllerName) | |
_runOnce () | |
_getErrorReportingLevel () | |
_isDebugMode () | |
_handleSystemException ($oEx) | |
_handleCookieException ($oEx) | |
_handleAccessRightsException ($oEx) | |
_handleDbConnectionException ($oEx) | |
_handleBaseException ($oEx) | |
_getStartController () | |
_getFrontendStartController () | |
_getFrontendMallStartController () |
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 400 of file oxshopcontrol.php.
|
protected |
Executes regular maintenance functions..
Definition at line 267 of file oxshopcontrol.php.
|
protected |
Returns error reporting level. Returns disabled error logging if server is misconfigured #2015 E_NONE replaced with 0.
Definition at line 580 of file oxshopcontrol.php.
|
protected |
return page errors array
string | $sCurrentControllerName | a class name |
Definition at line 517 of file oxshopcontrol.php.
|
protected |
format error messages from _getErrors and return as array
string | $sControllerName | a class name |
Definition at line 422 of file oxshopcontrol.php.
|
protected |
Returns start controller class name for frontend mall. If no class specified, we need to change back to base shop
Definition at line 724 of file oxshopcontrol.php.
|
protected |
Returns which controller should be loaded at shop start. Check whether we have to display mall start screen or not.
Definition at line 708 of file oxshopcontrol.php.
|
protected |
|
protected |
Returns controller class which should be loaded.
Definition at line 690 of file oxshopcontrol.php.
|
protected |
R&R handling -> redirect to error msg, also, can call _process again, specifying error handler view class.
oxException | $oEx | Exception |
Definition at line 650 of file oxshopcontrol.php.
|
protected |
Catching other not caught exceptions.
oxException | $oEx |
Definition at line 675 of file oxshopcontrol.php.
|
protected |
Redirect to start page, in debug mode shows error message.
oxException | $oEx | Exception |
Definition at line 637 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 660 of file oxshopcontrol.php.
|
protected |
Shows exceptionError page. possible reason: class does not exist etc. –> just redirect to start page.
oxException | $oEx |
Definition at line 620 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 371 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 142 of file oxshopcontrol.php.
|
protected |
render oxView object
oxView | $oViewObject | view object to render |
Definition at line 445 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 550 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 126 of file oxshopcontrol.php.
|
protected |
Starts resource monitor
Definition at line 178 of file oxshopcontrol.php.
|
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 193 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 253 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). Additionally its possible to pass class name, function name and parameters array to view, which will be executed.
string | $sClass | Class 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 95 of file oxshopcontrol.php.
|
protected |
Definition at line 56 of file oxshopcontrol.php.
|
protected |
Definition at line 65 of file oxshopcontrol.php.
|
protected |
Definition at line 47 of file oxshopcontrol.php.
|
protected |
Definition at line 17 of file oxshopcontrol.php.
|
protected |
Definition at line 24 of file oxshopcontrol.php.
|
protected |
Definition at line 38 of file oxshopcontrol.php.
|
protected |
Definition at line 31 of file oxshopcontrol.php.
|
protected |
Definition at line 82 of file oxshopcontrol.php.
|
protected |
Definition at line 75 of file oxshopcontrol.php.