OXID eShop CE
4.10.0
|
Public Member Functions | |
__construct (oxOpenSSLFunctionalityChecker $openSSLChecker=null) | |
generate () | |
generateV4 () | |
generateV5 ($sSeed, $sSalt) |
Protected Member Functions | |
_getOpenSSLChecker () | |
_generateBasedOnOpenSSL () | |
_generateBasedOnMtRand () |
Private Attributes | |
$_openSSLChecker |
Class oxUniversallyUniqueIdGenerator used as universally unique id generator.
Definition at line 6 of file oxuniversallyuniqueidgenerator.php.
oxUniversallyUniqueIdGenerator::__construct | ( | oxOpenSSLFunctionalityChecker | $openSSLChecker = null | ) |
Sets dependencies.
oxOpenSSLFunctionalityChecker | $openSSLChecker |
Definition at line 19 of file oxuniversallyuniqueidgenerator.php.
|
protected |
Generates UUID based on mt_rand.
Definition at line 111 of file oxuniversallyuniqueidgenerator.php.
|
protected |
Generates UUID based on OpenSSL's openssl_random_pseudo_bytes.
Definition at line 97 of file oxuniversallyuniqueidgenerator.php.
|
protected |
gets open SSL checker.
Definition at line 87 of file oxuniversallyuniqueidgenerator.php.
oxUniversallyUniqueIdGenerator::generate | ( | ) |
Generates UUID based on either openSSL's openssl_random_pseudo_bytes or mt_rand.
Definition at line 32 of file oxuniversallyuniqueidgenerator.php.
oxUniversallyUniqueIdGenerator::generateV4 | ( | ) |
Generates version 4 UUID.
Definition at line 44 of file oxuniversallyuniqueidgenerator.php.
oxUniversallyUniqueIdGenerator::generateV5 | ( | $sSeed, | |
$sSalt | |||
) |
Generates version 5 UUID.
string | $sSeed | |
string | $sSalt |
Definition at line 63 of file oxuniversallyuniqueidgenerator.php.
|
private |
Definition at line 12 of file oxuniversallyuniqueidgenerator.php.