OXID eShop CE  4.9.6
 All Classes Files Functions Variables Pages
oxApplicationServer Class Reference

Public Member Functions

 setId ($sId)
 getId ()
 setIp ($sIp)
 getIp ()
 setTimestamp ($iTimestamp)
 getTimestamp ()
 setLastAdminUsage ($iLastAdminUsage)
 getLastAdminUsage ()
 setLastFrontendUsage ($iLastFrontendUsage)
 getLastFrontendUsage ()
 setIsValid ($blValid=true)
 isValid ()

Private Attributes

 $_sId
 $_sIp
 $_iTimestamp
 $_iLastFrontendUsage
 $_iLastAdminUsage
 $_blIsValid = false

Detailed Description

Class used as entity for server node information.

Definition at line 11 of file oxapplicationserver.php.

Member Function Documentation

oxApplicationServer::getId ( )

Gets id

Returns
string

Definition at line 66 of file oxapplicationserver.php.

oxApplicationServer::getIp ( )

Gets ip.

Returns
string

Definition at line 86 of file oxapplicationserver.php.

oxApplicationServer::getLastAdminUsage ( )

Gets last admin usage.

Returns
int|null

Definition at line 126 of file oxapplicationserver.php.

oxApplicationServer::getLastFrontendUsage ( )

Gets last frontend usage.

Returns
int|null Frontend server flag which stores timestamp.

Definition at line 146 of file oxapplicationserver.php.

oxApplicationServer::getTimestamp ( )

Gets timestamp.

Returns
int

Definition at line 106 of file oxapplicationserver.php.

oxApplicationServer::isValid ( )

Checks if valid.

Returns
bool

Definition at line 166 of file oxapplicationserver.php.

oxApplicationServer::setId (   $sId)

Sets id.

Parameters
string$sId

Definition at line 56 of file oxapplicationserver.php.

oxApplicationServer::setIp (   $sIp)

Sets ip.

Parameters
string$sIp

Definition at line 76 of file oxapplicationserver.php.

oxApplicationServer::setIsValid (   $blValid = true)

Sets whether is valid.

Parameters
bool$blValidFlag to set if application server is valid

Definition at line 156 of file oxapplicationserver.php.

oxApplicationServer::setLastAdminUsage (   $iLastAdminUsage)

Sets last admin usage.

Parameters
int | null$iLastAdminUsage

Definition at line 116 of file oxapplicationserver.php.

oxApplicationServer::setLastFrontendUsage (   $iLastFrontendUsage)

Sets last frontend usage.

Parameters
int | null$iLastFrontendUsageAdmin server flag which stores timestamp.

Definition at line 136 of file oxapplicationserver.php.

oxApplicationServer::setTimestamp (   $iTimestamp)

Sets timestamp.

Parameters
int$iTimestamp

Definition at line 96 of file oxapplicationserver.php.

Member Data Documentation

oxApplicationServer::$_blIsValid = false
private

Definition at line 49 of file oxapplicationserver.php.

oxApplicationServer::$_iLastAdminUsage
private

Definition at line 41 of file oxapplicationserver.php.

oxApplicationServer::$_iLastFrontendUsage
private

Definition at line 34 of file oxapplicationserver.php.

oxApplicationServer::$_iTimestamp
private

Definition at line 27 of file oxapplicationserver.php.

oxApplicationServer::$_sId
private

Definition at line 17 of file oxapplicationserver.php.

oxApplicationServer::$_sIp
private

Definition at line 22 of file oxapplicationserver.php.


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