Skip to content
Aydan Coskun edited this page Nov 29, 2019 · 1 revision

TTUUID

  • Class name: TTUUID
  • Namespace:

Properties

$uuid_counter

protected mixed $uuid_counter = 1
  • Visibility: protected
  • This property is static.

Methods

getZeroID

integer|string TTUUID::getZeroID()
  • Visibility: public
  • This method is static.

getNotExistID

integer|string TTUUID::getNotExistID($int)
  • Visibility: public
  • This method is static.

Arguments

  • $int mixed

generateUUID

string TTUUID::generateUUID(null $seed)
  • Visibility: public
  • This method is static.

Arguments

  • $seed null

castUUID

integer|string TTUUID::castUUID(string $uuid, $allow_null)
  • Visibility: public
  • This method is static.

Arguments

  • $uuid string - UUID
  • $allow_null mixed

getRegex

mixed TTUUID::getRegex($exact_string)
  • Visibility: public
  • This method is static.

Arguments

  • $exact_string mixed

isUUID

boolean TTUUID::isUUID(string $uuid)
  • Visibility: public
  • This method is static.

Arguments

  • $uuid string - UUID

getUUIDGroup

boolean TTUUID::getUUIDGroup($uuid, integer $group)
  • Visibility: public
  • This method is static.

Arguments

  • $uuid mixed
  • $group integer

convertUUIDtoInt

integer TTUUID::convertUUIDtoInt(string $uuid)
  • Visibility: public
  • This method is static.

Arguments

  • $uuid string - UUID

convertIntToUUID

integer|string TTUUID::convertIntToUUID($int)
  • Visibility: public
  • This method is static.

Arguments

  • $int mixed

convertStringToUUID

string TTUUID::convertStringToUUID($str)
  • Visibility: public
  • This method is static.

Arguments

  • $str mixed - string

getSeed

boolean|string TTUUID::getSeed(boolean $fail_to_random)
  • Visibility: public
  • This method is static.

Arguments

  • $fail_to_random boolean

generateRandomSeed

string TTUUID::generateRandomSeed()
  • Visibility: public
  • This method is static.

generateSeed

boolean|string TTUUID::generateSeed()
  • Visibility: public
  • This method is static.

getConversionPrefix

boolean|string TTUUID::getConversionPrefix()
  • Visibility: public
  • This method is static.

truncateUUID

mixed TTUUID::truncateUUID($uuid, $length, $include_dashes)
  • Visibility: public
  • This method is static.

Arguments

  • $uuid mixed
  • $length mixed
  • $include_dashes mixed

Clone this wiki locally