Class UIDGenerator
For the generation of simple, unique ids

isPublic? yes
isAbstract? no

Inheritance tree:

UIDGenerator (top level class)

Known subclasses:

None

Source file: xml_domit_parser.php




Constructor
Instantiates a new UIDGenerator object. Probably best to use this statically.

Signature: UIDGenerator()

isPublic? yes




Public Constants



Private Constants



Public Fields



Private Fields



Public Methods
generateUID
Returns a unique id using the uniqid PHP function.

Signature: generateUID()

Returns:

String - A unique 17 character alphanumeric id, prefixed with the word "node". Its value is based on the current time in microseconds.

Example:

A unique id can be generated by calling generateUID() with UIDGenerator as a static class:

$newNodeID = UIDGenerator::generateUID();




Private Methods

Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.