OXID eShop CE  4.10.0
 All Classes Namespaces Files Functions Variables Pages
oxServerProcessor Class Reference
+ Inheritance diagram for oxServerProcessor:
+ Collaboration diagram for oxServerProcessor:

Public Member Functions

 __construct (oxServersManager $oServerNodesManager, oxServerChecker $oServerNodeChecker, oxUtilsServer $oUtilsServer, oxUtilsDate $oUtilsDate)
 process ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _getServerNodeChecker ()
 _getServerNodesManager ()
 _getUtilsServer ()
 _getUtilsDate ()

Private Member Functions

 _updateNodeInformation ($oNode)

Private Attributes

 $_oServerNodesManager
 $_oServerNodeChecker
 $_oUtilsServer
 $_oUtilsDate

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Definition at line 7 of file oxserverprocessor.php.

Constructor & Destructor Documentation

oxServerProcessor::__construct ( oxServersManager  $oServerNodesManager,
oxServerChecker  $oServerNodeChecker,
oxUtilsServer  $oUtilsServer,
oxUtilsDate  $oUtilsDate 
)

Sets dependencies.

Parameters
oxServersManager$oServerNodesManager
oxServerChecker$oServerNodeChecker
oxUtilsServer$oUtilsServer
oxUtilsDate$oUtilsDate

Definition at line 70 of file oxserverprocessor.php.

Member Function Documentation

oxServerProcessor::_getServerNodeChecker ( )
protected

Gets server node checker.

Returns
oxServerChecker

Definition at line 27 of file oxserverprocessor.php.

oxServerProcessor::_getServerNodesManager ( )
protected

Gets server node manager.

Returns
oxServersManager

Definition at line 37 of file oxserverprocessor.php.

oxServerProcessor::_getUtilsDate ( )
protected

Gets utils date.

Returns
oxUtilsDate

Definition at line 57 of file oxserverprocessor.php.

oxServerProcessor::_getUtilsServer ( )
protected

Gets utils server.

Returns
oxUtilsServer

Definition at line 47 of file oxserverprocessor.php.

oxServerProcessor::_updateNodeInformation (   $oNode)
private

Updates mode information.

Parameters
oxApplicationServer$oNode

Definition at line 103 of file oxserverprocessor.php.

oxServerProcessor::process ( )

Renew frontend server node information if it is outdated or it does not exist.

Definition at line 85 of file oxserverprocessor.php.

Member Data Documentation

oxServerProcessor::$_oServerNodeChecker
private

Definition at line 14 of file oxserverprocessor.php.

oxServerProcessor::$_oServerNodesManager
private

Definition at line 11 of file oxserverprocessor.php.

oxServerProcessor::$_oUtilsDate
private

Definition at line 20 of file oxserverprocessor.php.

oxServerProcessor::$_oUtilsServer
private

Definition at line 17 of file oxserverprocessor.php.


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