PHP Class UUID, PHPePub

Mostrar archivo Open project: grandt/phpepub Class Usage Examples

Protected Properties

Property Type Description
$bignum
$bytes instance properties
$hex
$node
$randomFunc static properties
$randomSource
$secLib
$store
$storeClass
$string
$time
$urn
$variant
$version

Public Methods

Method Description
__get ( $var )
__toString ( )
compare ( $a, $b )
import ( $uuid )
initAccurate ( )
initBignum ( $how = NULL )
initRandom ( $how = NULL )
initStorage ( $file = NULL )
mint ( $ver = 1, $node = NULL, $ns = NULL, $time = NULL )
mintStr ( $ver = 1, $node = NULL, $ns = NULL, $time = NULL )
randomBytes ( $bytes )
registerStorage ( $name )
seq ( )

Protected Methods

Method Description
CheckTimeInput ( $node, $seq, $time )
__construct ( $uuid )
buildTime ( $time )
decodeTimestamp ( $hex )
makeBin ( $str )
makeNode ( $str )
mintName ( $ver, $node, $ns )
mintRand ( )
mintTime ( $node = NULL, $seq = NULL, $time = NULL )
normalizeTime ( $time, $expected = FALSE )

Method Details

CheckTimeInput() protected static method

protected static CheckTimeInput ( $node, $seq, $time )

__construct() protected method

protected __construct ( $uuid )

__get() public method

public __get ( $var )

__toString() public method

public __toString ( )

buildTime() protected static method

protected static buildTime ( $time )

compare() public static method

public static compare ( $a, $b )

decodeTimestamp() protected static method

protected static decodeTimestamp ( $hex )

import() public static method

public static import ( $uuid )

initAccurate() public static method

public static initAccurate ( )

initBignum() public static method

public static initBignum ( $how = NULL )

initRandom() public static method

public static initRandom ( $how = NULL )

initStorage() public static method

public static initStorage ( $file = NULL )

makeBin() protected static method

protected static makeBin ( $str )

makeNode() protected static method

protected static makeNode ( $str )

mint() public static method

public static mint ( $ver = 1, $node = NULL, $ns = NULL, $time = NULL )

mintName() protected static method

protected static mintName ( $ver, $node, $ns )

mintRand() protected static method

protected static mintRand ( )

mintStr() public static method

public static mintStr ( $ver = 1, $node = NULL, $ns = NULL, $time = NULL )

mintTime() protected static method

protected static mintTime ( $node = NULL, $seq = NULL, $time = NULL )

normalizeTime() protected static method

protected static normalizeTime ( $time, $expected = FALSE )

randomBytes() public static method

public static randomBytes ( $bytes )

registerStorage() public static method

public static registerStorage ( $name )

seq() public static method

public static seq ( )

Property Details

$bignum protected_oe static_oe property

protected static $bignum

$bytes protected_oe property

instance properties
protected $bytes

$hex protected_oe property

protected $hex

$node protected_oe property

protected $node

$randomFunc protected_oe static_oe property

static properties
protected static $randomFunc

$randomSource protected_oe static_oe property

protected static $randomSource

$secLib protected_oe static_oe property

protected static $secLib

$store protected_oe static_oe property

protected static $store

$storeClass protected_oe static_oe property

protected static $storeClass

$string protected_oe property

protected $string

$time protected_oe property

protected $time

$urn protected_oe property

protected $urn

$variant protected_oe property

protected $variant

$version protected_oe property

protected $version