OXID eShop CE
4.9.7
|
Public Member Functions | |
setOnlineLicenseCheck (oxOnlineLicenseCheck $oOnlineLicenseCheck) | |
getOnlineLicenseCheck () | |
setOnlineModuleVersionNotifier (oxOnlineModuleVersionNotifier $oOnlineModuleVersionNotifier) | |
getOnlineModuleVersionNotifier () | |
onAdminLogin () | |
onShopStart () |
Protected Member Functions | |
_isSendingShopDataEnabled () | |
_sendShopInformation () | |
_getConfig () | |
_getServerProcessor () |
Private Member Functions | |
_needToSendShopInformation () | |
_getNextCheckTime () | |
_updateNextCheckTime () | |
_getCheckTime () | |
_getCurrentTime () | |
_validateOffline () | |
_needValidateShop () |
Private Attributes | |
$_oOnlineModuleVersionNotifier = null | |
$_oOnlineLicenseCheck = null |
Contains system event handler methods
Definition at line 9 of file oxsystemeventhandler.php.
|
private |
Returns time (hour minutes seconds) when to perform license check. Create if does not exist.
Definition at line 215 of file oxsystemeventhandler.php.
|
protected |
Return oxConfig from registry.
Definition at line 266 of file oxsystemeventhandler.php.
|
private |
Return current time - time stamp.
Definition at line 235 of file oxsystemeventhandler.php.
|
private |
Return time stamp when shop was checked last with white noise from config.
Definition at line 189 of file oxsystemeventhandler.php.
|
protected |
Gets server processor.
Definition at line 276 of file oxsystemeventhandler.php.
|
protected |
Checks if sending shop data is enabled.
Definition at line 146 of file oxsystemeventhandler.php.
|
private |
Check if need to send information. We will not send information on each request due to possible performance drop.
Definition at line 173 of file oxsystemeventhandler.php.
|
private |
Performance - run these checks only each 5 times statistically.
Definition at line 257 of file oxsystemeventhandler.php.
|
protected |
Sends shop information to oxid servers.
Definition at line 158 of file oxsystemeventhandler.php.
|
private |
Update when shop was checked last time with white noise. White noise is used to separate call time for different shop.
Definition at line 198 of file oxsystemeventhandler.php.
|
private |
Check if shop valid. Redirect offline if not valid.
Definition at line 248 of file oxsystemeventhandler.php.
oxSystemEventHandler::getOnlineLicenseCheck | ( | ) |
OLC dependency getter
Definition at line 37 of file oxsystemeventhandler.php.
oxSystemEventHandler::getOnlineModuleVersionNotifier | ( | ) |
oxOnlineModuleVersionNotifier dependency getter
Definition at line 84 of file oxsystemeventhandler.php.
oxSystemEventHandler::onAdminLogin | ( | ) |
onAdminLogin() is called on every successful login to the backend
Definition at line 115 of file oxsystemeventhandler.php.
oxSystemEventHandler::onShopStart | ( | ) |
Perform shop startup related actions, like license check.
Definition at line 129 of file oxsystemeventhandler.php.
oxSystemEventHandler::setOnlineLicenseCheck | ( | oxOnlineLicenseCheck | $oOnlineLicenseCheck | ) |
OLC dependency setter
oxOnlineLicenseCheck | $oOnlineLicenseCheck |
Definition at line 27 of file oxsystemeventhandler.php.
oxSystemEventHandler::setOnlineModuleVersionNotifier | ( | oxOnlineModuleVersionNotifier | $oOnlineModuleVersionNotifier | ) |
oxOnlineModuleVersionNotifier dependency setter
oxOnlineModuleVersionNotifier | $oOnlineModuleVersionNotifier |
Definition at line 74 of file oxsystemeventhandler.php.
|
private |
Definition at line 20 of file oxsystemeventhandler.php.
|
private |
Definition at line 15 of file oxsystemeventhandler.php.