\FMLUniqueID

Unique ID Model Class

Summary

Methods
Properties
Constants
create()
check()
__construct()
getIndex()
getValue()
__toString()
No public properties found
PREFIX
newIndex()
$currentIndex
$index
N/A
No private methods found
No private properties found
N/A

Constants

PREFIX

PREFIX

Properties

$currentIndex

$currentIndex : integer

Type

integer — Current global id index

$index

$index : integer

Type

integer — Unique id index

Methods

create()

create() : static

Create a new Unique ID

Returns

static

check()

check(\FML\Types\Identifiable  $element) : string

Check and return the Id of an Identifable Element

Parameters

\FML\Types\Identifiable $element

Identifable element

Returns

string

__construct()

__construct() 

Construct a Unique ID

getIndex()

getIndex() : integer

Get the Unique ID index

Returns

integer

getValue()

getValue() : string

Get the Unique ID value

Returns

string

__toString()

__toString() : string

Get the string representation

Returns

string

newIndex()

newIndex() : integer

Get a new global unique index

Returns

integer