Public Member Functions | |
__construct () | |
check (oxApplicationServer $oServer) | |
Public Attributes | |
const | NODE_VALIDITY_TIME = 43200 |
Private Member Functions | |
_isValid ($oServer) | |
_isServerTimeValid ($iServerTimeInPast) | |
_getCurrentTime () | |
Private Attributes | |
$_iCurrentTime = 0 |
Checks if server node is valid, information is not outdated.
Definition at line 11 of file oxserverchecker.php.
oxServerChecker.__construct | ( | ) |
Class constructor. Sets current time to $_iCurrentTime parameter.
Definition at line 29 of file oxserverchecker.php.
oxServerChecker._getCurrentTime | ( | ) | [private] |
oxServerChecker._isServerTimeValid | ( | $ | iServerTimeInPast | ) | [private] |
Method checks if server time was not rolled back.
int | $iServerTimeInPast timestamp of time in past |
Definition at line 71 of file oxserverchecker.php.
oxServerChecker._isValid | ( | $ | oServer | ) | [private] |
Check is server information out dated.
oxApplicationServer | $oServer |
Definition at line 59 of file oxserverchecker.php.
oxServerChecker.check | ( | oxApplicationServer $ | oServer | ) |
Checks if server node is valid.
oxApplicationServer | $oServer |
Definition at line 41 of file oxserverchecker.php.
oxServerChecker.$_iCurrentTime = 0 [private] |
Definition at line 24 of file oxserverchecker.php.
const oxServerChecker.NODE_VALIDITY_TIME = 43200 |
Time in seconds, server node information life time.
Definition at line 17 of file oxserverchecker.php.