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), controlls output, redirects according to processed methods logic. This class is initalized 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 27 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 101 of file oxwidgetcontrol.php.

oxWidgetControl._runLast (  )  [protected]

Runs actions that should be performed at the controler finish.

Returns:
null

Definition at line 77 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 exectuted 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 Funtion name
array $aParams Parameters array
array $aViewsChain Array of views names that should be initialized also
Returns:
null

Reimplemented from oxShopControl.

Definition at line 45 of file oxwidgetcontrol.php.


Member Data Documentation

oxWidgetControl.$_blHandlerSet = true [protected]

Reimplemented from oxShopControl.

Definition at line 15 of file oxwidgetcontrol.php.

oxWidgetControl.$_blMainTasksExecuted = true [protected]

Reimplemented from oxShopControl.

Definition at line 22 of file oxwidgetcontrol.php.


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