oxShopControl Class Reference

Inheritance diagram for oxShopControl:
[legend]
Collaboration diagram for oxShopControl:
[legend]

List of all members.


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 oxshopcontrol.php.


Public Member Functions

 start ()

Protected Member Functions

 _log ($sClass, $sFnc)
 _startMonitor ()
 _stopMonitor ($blIsCache=false, $blIsCached=false, $sViewID=null, $aViewData=array())
 _process ($sClass, $sFunction)
 _runOnce ()

Member Function Documentation

oxShopControl.start (  ) 

Main shop manager, that sets shop status, executes configuration methods. Executes oxShopControl._runOnce(), if needed sets default class (according to admin or regular activities).

Session variables: actshop

Returns:
null

Definition at line 20 of file oxshopcontrol.php.

oxShopControl._log ( sClass,
sFnc 
) [protected]

Logs user performad actions to DB. Skips action loggin if it's search engine.

Parameters:
string $sClass Name of class
srring $sFnc Name of executed class method
Returns:
null

Definition at line 87 of file oxshopcontrol.php.

oxShopControl._startMonitor (  )  [protected]

Starts resource monitor

Returns:
null

Definition at line 113 of file oxshopcontrol.php.

oxShopControl._stopMonitor ( blIsCache = false,
blIsCached = false,
sViewID = null,
aViewData = array() 
) [protected]

Stops resource monitor, summarizes and outputs values

Parameters:
bool $blIsCache Is content cache
bool $blIsCached Is content cached
bool $sViewID View ID
array $aViewData View data
Returns:
null

Definition at line 131 of file oxshopcontrol.php.

oxShopControl._process ( sClass,
sFunction 
) [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.

Parameters:
string $sClass Name of class
string $sFunction Name of function
Returns:
null

Definition at line 202 of file oxshopcontrol.php.

oxShopControl._runOnce (  )  [protected]

This function is only executed one time here we perform checks if we only need once per session

Returns:
null

Definition at line 301 of file oxshopcontrol.php.


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

Generated on Thu Dec 4 12:05:33 2008 for OXID eShop CE by  doxygen 1.5.5