Public Member Functions | Protected Member Functions | Protected Attributes

oxWidgetControl Class Reference

Inheritance diagram for oxWidgetControl:
Collaboration diagram for oxWidgetControl:

List of all members.

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

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 $sClass view name
string $sFunction function name
array $aParams Parameters array
array $aViewsChain Array 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 $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.


Member Data Documentation

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.


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