OXID eShop CE  6.4.2
OxidEsales\EshopCommunity\Core\WidgetControl Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\WidgetControl:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\WidgetControl:

Public Member Functions

 start ($class=null, $function=null, $parameters=null, $viewsChain=null)
 

Protected Member Functions

 _runLast ()
 
 _initializeViewObject ($class, $function, $parameters=null, $viewsChain=null)
 

Protected Attributes

 $_blHandlerSet = true
 
 $_blMainTasksExecuted = true
 
 $parentsAdded = []
 

Private Member Functions

 getRenderer ()
 

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

Member Function Documentation

◆ _initializeViewObject()

OxidEsales\EshopCommunity\Core\WidgetControl::_initializeViewObject (   $class,
  $function,
  $parameters = null,
  $viewsChain = null 
)
protected

Initialize and return widget view object.

Parameters
string$classView class
string$functionFunction name
array$parametersParameters array
array$viewsChainArray of views keys that should be initialized as well
Exceptions
ObjectException
Returns
\OxidEsales\Eshop\Core\Controller\BaseController Current active view
Deprecated:
underscore prefix violates PSR12, will be renamed to "initializeViewObject" in next major

◆ _runLast()

OxidEsales\EshopCommunity\Core\WidgetControl::_runLast ( )
protected

Runs actions that should be performed at the controller finish.

Deprecated:
underscore prefix violates PSR12, will be renamed to "runLast" in next major

◆ getRenderer()

OxidEsales\EshopCommunity\Core\WidgetControl::getRenderer ( )
private

◆ start()

OxidEsales\EshopCommunity\Core\WidgetControl::start (   $class = null,
  $function = null,
  $parameters = null,
  $viewsChain = null 
)

Main shop widget manager. Sets needed parameters and calls parent::start method.

Session variables: actshop

Parameters
string$classClass name
string$functionFunction name
array$parametersParameters array
array$viewsChainArray of views names that should be initialized also

Member Data Documentation

◆ $_blHandlerSet

OxidEsales\EshopCommunity\Core\WidgetControl::$_blHandlerSet = true
protected

◆ $_blMainTasksExecuted

OxidEsales\EshopCommunity\Core\WidgetControl::$_blMainTasksExecuted = true
protected

◆ $parentsAdded

OxidEsales\EshopCommunity\Core\WidgetControl::$parentsAdded = []
protected

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