Public Member Functions | |
setOnlineLicenseCheck (oxOnlineLicenseCheck $oOnlineLicenseCheck) | |
setOnlineModuleVersionNotifier (oxOnlineModuleVersionNotifier $oOnlineModuleVersionNotifier) | |
onAdminLogin () | |
onShopStart () | |
Protected Member Functions | |
_isSendingShopDataEnabled () | |
_sendShopInformation () | |
_getConfig () | |
Private Member Functions | |
_needToSendShopInformation () | |
_getNextCheckTime () | |
_getCheckTime () | |
_validateOffline () | |
_needValidateShop () | |
Private Attributes | |
$_oOnlineModuleVersionNotifier = null | |
$_oOnlineLicenseCheck = null |
Contains system event handler methods
Definition at line 9 of file oxsystemeventhandler.php.
oxSystemEventHandler._getCheckTime | ( | ) | [private] |
Returns time (hour minutes seconds) when to perform license check. Create if does not exist.
Definition at line 215 of file oxsystemeventhandler.php.
oxSystemEventHandler._getConfig | ( | ) | [protected] |
Return oxConfig from registry.
Definition at line 266 of file oxsystemeventhandler.php.
oxSystemEventHandler._getNextCheckTime | ( | ) | [private] |
Return time stamp when shop was checked last with white noise from config.
Definition at line 189 of file oxsystemeventhandler.php.
oxSystemEventHandler._isSendingShopDataEnabled | ( | ) | [protected] |
Checks if sending shop data is enabled.
Definition at line 146 of file oxsystemeventhandler.php.
oxSystemEventHandler._needToSendShopInformation | ( | ) | [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.
oxSystemEventHandler._needValidateShop | ( | ) | [private] |
Performance - run these checks only each 5 times statistically.
Definition at line 257 of file oxsystemeventhandler.php.
oxSystemEventHandler._sendShopInformation | ( | ) | [protected] |
Sends shop information to oxid servers.
Definition at line 158 of file oxsystemeventhandler.php.
oxSystemEventHandler._validateOffline | ( | ) | [private] |
Check if shop valid. Redirect offline if not valid.
Definition at line 248 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.
oxSystemEventHandler.$_oOnlineLicenseCheck = null [private] |
Definition at line 20 of file oxsystemeventhandler.php.
oxSystemEventHandler.$_oOnlineModuleVersionNotifier = null [private] |
Definition at line 15 of file oxsystemeventhandler.php.