Public Member Functions | |
__construct () | |
start ($sClass=null, $sFunction=null, $aParams=null, $aViewsChain=null) | |
Protected Member Functions | |
_runOnce () | |
_runLast () | |
_initializeViewObject ($sClass, $sFunction, $aParams=null, $aViewsChain=null) | |
Protected Attributes | |
$_blHandlerSet = true | |
$_blMainTasksExecuted = true |
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.
oxWidgetControl.__construct | ( | ) |
Create object and ensure that params have correct value.
Reimplemented from oxSuperCfg.
Definition at line 29 of file oxwidgetcontrol.php.
oxWidgetControl._initializeViewObject | ( | $ | sClass, | |
$ | sFunction, | |||
$ | aParams = null , |
|||
$ | aViewsChain = null | |||
) | [protected] |
Initialize and return widget 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 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.
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
string | $sClass Class name | |
string | $sFunction Function name | |
array | $aParams Parameters array | |
array | $aViewsChain Array of views names that should be initialized also |
Reimplemented from oxShopControl.
Definition at line 45 of file oxwidgetcontrol.php.
oxWidgetControl.$_blHandlerSet = true [protected] |
Reimplemented from oxShopControl.
Definition at line 17 of file oxwidgetcontrol.php.
oxWidgetControl.$_blMainTasksExecuted = true [protected] |
Reimplemented from oxShopControl.
Definition at line 24 of file oxwidgetcontrol.php.