OXID eShop CE
4.10.5
|
Public Member Functions | |
setOnlineLicenseCheck (oxOnlineLicenseCheck $oOnlineLicenseCheck) | |
getOnlineLicenseCheck () | |
setOnlineModuleVersionNotifier (oxOnlineModuleVersionNotifier $oOnlineModuleVersionNotifier) | |
getOnlineModuleVersionNotifier () | |
onAdminLogin () | |
onShopStart () |
Protected Member Functions | |
_validateOnline () | |
_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 227 of file oxsystemeventhandler.php.
|
protected |
Return oxConfig from registry.
Definition at line 278 of file oxsystemeventhandler.php.
|
private |
Return current time - time stamp.
Definition at line 247 of file oxsystemeventhandler.php.
|
private |
Return time stamp when shop was checked last with white noise from config.
Definition at line 201 of file oxsystemeventhandler.php.
|
protected |
Gets server processor.
Definition at line 288 of file oxsystemeventhandler.php.
|
protected |
Checks if sending shop data is enabled.
Definition at line 158 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 185 of file oxsystemeventhandler.php.
|
private |
Performance - run these checks only each 5 times statistically.
Definition at line 269 of file oxsystemeventhandler.php.
|
protected |
Sends shop information to oxid servers.
Definition at line 170 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 210 of file oxsystemeventhandler.php.
|
private |
Check if shop valid. Redirect offline if not valid.
Definition at line 260 of file oxsystemeventhandler.php.
|
protected |
Check if shop is valid online.
Definition at line 139 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.