Detailed Description
Performs Online License Key check.
Definition at line 11 of file oxonlinelicensecheck.php.
Constructor & Destructor Documentation
oxOnlineLicenseCheck::__construct |
( |
|
$oCaller | ) |
|
Member Function Documentation
oxOnlineLicenseCheck::_formCounters |
( |
| ) |
|
|
protected |
oxOnlineLicenseCheck::_getCaller |
( |
| ) |
|
|
protected |
oxOnlineLicenseCheck::_getUserCounter |
( |
| ) |
|
|
protected |
oxOnlineLicenseCheck::_logSuccess |
( |
| ) |
|
|
protected |
oxOnlineLicenseCheck::_setErrorMessage |
( |
|
$sErrorMessage | ) |
|
|
protected |
oxOnlineLicenseCheck::_setIsException |
( |
|
$blIsException | ) |
|
|
protected |
oxOnlineLicenseCheck::_startGracePeriod |
( |
| ) |
|
|
protected |
oxOnlineLicenseCheck::_validateResponse |
( |
|
$oResponse | ) |
|
|
protected |
Performs a check of the response code and message.
- Parameters
-
- Exceptions
-
- Returns
- bool
Definition at line 223 of file oxonlinelicensecheck.php.
oxOnlineLicenseCheck::getErrorMessage |
( |
| ) |
|
oxOnlineLicenseCheck::getServersManager |
( |
| ) |
|
oxOnlineLicenseCheck::getUserCounter |
( |
| ) |
|
oxOnlineLicenseCheck::isException |
( |
| ) |
|
oxOnlineLicenseCheck::setServersManager |
( |
|
$oServersManager | ) |
|
oxOnlineLicenseCheck::setUserCounter |
( |
|
$oUserCounter | ) |
|
oxOnlineLicenseCheck::validate |
( |
|
$aSerials | ) |
|
The Online shop license check is performed. Returns check result.
- Parameters
-
array | $aSerials | Serial keys to be checked. |
- Returns
- bool
Definition at line 169 of file oxonlinelicensecheck.php.
oxOnlineLicenseCheck::validateNewSerial |
( |
|
$sSerial | ) |
|
The Online shop license check for the new serial is performed. Returns check result.
- Parameters
-
string | $sSerial | Serial to check. |
- Returns
- bool
Definition at line 154 of file oxonlinelicensecheck.php.
oxOnlineLicenseCheck::validateShopSerials |
( |
| ) |
|
Takes active serial key and performs online license check in case it has never been performed before. In case of invalid license key, eShop is declared as unlicensed. In case of validation exception (eg. service can not be reached) the check is postponed until the next call.
Definition at line 139 of file oxonlinelicensecheck.php.
Member Data Documentation
oxOnlineLicenseCheck::$_aSerialKeys = array() |
|
protected |
oxOnlineLicenseCheck::$_blIsException = false |
|
protected |
oxOnlineLicenseCheck::$_iValidResponseCode = 0 |
|
protected |
oxOnlineLicenseCheck::$_oCaller = null |
|
protected |
oxOnlineLicenseCheck::$_oServersManager = null |
|
protected |
oxOnlineLicenseCheck::$_oUserCounter = null |
|
protected |
oxOnlineLicenseCheck::$_sErrorMessage = '' |
|
protected |
oxOnlineLicenseCheck::$_sValidResponseMessage = 'ACK' |
|
protected |
const oxOnlineLicenseCheck::CONFIG_VAR_NAME = 'iOlcSuccess' |
The documentation for this class was generated from the following file: