OXID eShop CE
6.1.5
|
Public Member Functions | |
setOnlineLicenseCheck (\OxidEsales\Eshop\Core\OnlineLicenseCheck $onlineLicenseCheck) | |
getOnlineLicenseCheck () | |
setOnlineModuleVersionNotifier (\OxidEsales\Eshop\Core\OnlineModuleVersionNotifier $onlineModuleVersionNotifier) | |
getOnlineModuleVersionNotifier () | |
onAdminLogin () | |
onShopStart () | |
onShopEnd () | |
Protected Member Functions | |
getApplicationServerExporter () | |
validateOnline () | |
isSendingShopDataEnabled () | |
sendShopInformation () | |
validateOffline () | |
getConfig () | |
getAppServerService () | |
Private Member Functions | |
needToSendShopInformation () | |
getNextCheckTime () | |
updateNextCheckTime () | |
getCheckTime () | |
getCurrentTime () | |
Private Attributes | |
$onlineModuleVersionNotifier = null | |
$onlineLicenseCheck = null | |
Contains system event handler methods
|
protected |
ApplicationServerExporter dependency setter
|
protected |
Gets application server service.
|
private |
Returns time (hour minutes seconds) when to perform license check. Create if does not exist.
|
protected |
Return Config from registry.
|
private |
Return current time - time stamp.
|
private |
Return time stamp when shop was checked last with white noise from config.
OxidEsales\EshopCommunity\Core\SystemEventHandler::getOnlineLicenseCheck | ( | ) |
OLC dependency getter
OxidEsales\EshopCommunity\Core\SystemEventHandler::getOnlineModuleVersionNotifier | ( | ) |
OnlineModuleVersionNotifier dependency getter
|
protected |
Checks if sending shop data is enabled.
|
private |
Check if need to send information. We will not send information on each request due to possible performance drop.
OxidEsales\EshopCommunity\Core\SystemEventHandler::onAdminLogin | ( | ) |
onAdminLogin() is called on every successful login to the backend
OxidEsales\EshopCommunity\Core\SystemEventHandler::onShopEnd | ( | ) |
Perform shop finishing up related actions, like updating app server data.
OxidEsales\EshopCommunity\Core\SystemEventHandler::onShopStart | ( | ) |
Perform shop startup related actions, like license check.
|
protected |
Sends shop information to oxid servers.
OxidEsales\EshopCommunity\Core\SystemEventHandler::setOnlineLicenseCheck | ( | \OxidEsales\Eshop\Core\OnlineLicenseCheck | $onlineLicenseCheck | ) |
OLC dependency setter
\OxidEsales\Eshop\Core\OnlineLicenseCheck | $onlineLicenseCheck |
OxidEsales\EshopCommunity\Core\SystemEventHandler::setOnlineModuleVersionNotifier | ( | \OxidEsales\Eshop\Core\OnlineModuleVersionNotifier | $onlineModuleVersionNotifier | ) |
OnlineModuleVersionNotifier dependency setter
\OxidEsales\Eshop\Core\OnlineModuleVersionNotifier | $onlineModuleVersionNotifier |
|
private |
Update when shop was checked last time with white noise. White noise is used to separate call time for different shop.
|
protected |
Check if shop valid and do related actions.
|
protected |
Check if shop is valid online.
|
private |
|
private |