PHP Class UUID, PHPePub

Show file 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 static property

protected static $bignum

$bytes protected property

instance properties
protected $bytes

$hex protected property

protected $hex

$node protected property

protected $node

$randomFunc protected static property

static properties
protected static $randomFunc

$randomSource protected static property

protected static $randomSource

$secLib protected static property

protected static $secLib

$store protected static property

protected static $store

$storeClass protected static property

protected static $storeClass

$string protected property

protected $string

$time protected property

protected $time

$urn protected property

protected $urn

$variant protected property

protected $variant

$version protected property

protected $version