Class: iHRIS UUID Map (Development): Difference between revisions
(Created page with '{{otherversions|Class: iHRIS_UUID_Map}} This article describes the class ''iHRIS_UUID_Map'' . *Extends the class: I2CE_Form. *Location: Part …') |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{otherversions|Class: iHRIS_UUID_Map}} | {{otherversions|Class: iHRIS_UUID_Map}} | ||
The class iHRIS_UUID_Map contains 2 definitions: | |||
*Definition in [[#common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php|common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php]] of the package <span style='color:SaddleBrown'>iHRIS Common</span> | |||
*Definition in [[#common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php|common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php]] of the package <span style='color:SaddleBrown'>iHRIS Common</span> | |||
=common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php= | |||
This article describes the class ''iHRIS_UUID_Map'' . | This article describes the class ''iHRIS_UUID_Map'' . | ||
*Extends the class: [[Class: I2CE_Form (Development) | I2CE_Form]]. | *Extends the class: [[Class: I2CE_Form (Development) | I2CE_Form]]. | ||
*Location: Part of the module [[iHRIS Common Module List (Development)#UUID_map|UUID_map]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4. | *Location: Part of the module [[iHRIS Common Module List (Development)#UUID_map|UUID_map]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4.1-dev | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php#L33 modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php] on line 33 | ||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
*Since: v4.0.0 | *Since: v4.0.0 | ||
@filesource Class iHRIS_UUID_Map | @filesource Class iHRIS_UUID_Map for pecl uuid http://freezerfrog.com/2009/12/generating-a-uuid-in-php-using-pecl-uuid/comment-page-1/ | ||
==Form Fields== | ==Form Fields== | ||
This class is a [[Class: I2CE_Form (Development) |form class]] and provides the following [[Class: I2CE_FormField (Development) |form fields]] | This class is a [[Class: I2CE_Form (Development) |form class]] and provides the following [[Class: I2CE_FormField (Development) |form fields]] | ||
Line 14: | Line 18: | ||
===$uuidobject=== | ===$uuidobject=== | ||
The uuid object used to create uuids on resource $uuidobject | The uuid object used to create uuids on resource $uuidobject | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php#L63 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php] on line 63 | ||
*Type: static protected protected $uuidobject | *Type: static protected protected $uuidobject | ||
Line 20: | Line 24: | ||
===ensure()=== | ===ensure()=== | ||
On long running deamons i've seen a lost resource. This checks the resource and creates it if needed. | On long running deamons i've seen a lost resource. This checks the resource and creates it if needed. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php#L69 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php] on line 69 | ||
*Signature: static protected function ensure() | *Signature: static protected function ensure() | ||
===generateUUID()=== | ===generateUUID()=== | ||
Wrapper function to fenerates a UUID via the pecl uuid module. More http ://pwet.fr/man/linux/fonctions_bibliotheques/ossp/uuid doucmentation on ossp uuid. <br/> Version 1 UUIDs are guaranteed to be unique through combinations of hardware addresses, time stamps and random seeds. There is a reference in the UUID to the hardware (MAC) address of the first network interface card (NIC) on the host which generated the UUID this reference is intended to ensure the UUID will be unique in space as the MAC address of every network card is assigned by a single global authority (IEEE) and is guaranteed to be unique. The next component in a UUID is a timestamp which, as clock always (should) move forward, will be unique in time. Just in case some part of the above goes wrong (the hardware address cannot be determined or the clock moved steps backward), there is a random clock sequence component placed into the UUID as a catch-all for uniqueness. <br/> Version 3 and version 5 UUIDs are guaranteed to be inherently globally unique if the combination of namespace and name used to generate them is unique. It is not supported at the moment <br/> Version 4 UUIDs are not guaranteed to be globally unique, because they are generated out of locally gathered pseudo-random numbers only. Nevertheless there is still a high likelihood of uniqueness over space and time and that they are computationally difficult to guess. * Loosely based off of work of http ://www.php.net/manual/en/function.uniqid.php#88434 Marius Karthaus | Wrapper function to fenerates a UUID via the pecl uuid module. More http ://pwet.fr/man/linux/fonctions_bibliotheques/ossp/uuid doucmentation on ossp uuid. <br/> Version 1 UUIDs are guaranteed to be unique through combinations of hardware addresses, time stamps and random seeds. There is a reference in the UUID to the hardware (MAC) address of the first network interface card (NIC) on the host which generated the UUID this reference is intended to ensure the UUID will be unique in space as the MAC address of every network card is assigned by a single global authority (IEEE) and is guaranteed to be unique. The next component in a UUID is a timestamp which, as clock always (should) move forward, will be unique in time. Just in case some part of the above goes wrong (the hardware address cannot be determined or the clock moved steps backward), there is a random clock sequence component placed into the UUID as a catch-all for uniqueness. <br/> Version 3 and version 5 UUIDs are guaranteed to be inherently globally unique if the combination of namespace and name used to generate them is unique. It is not supported at the moment <br/> Version 4 UUIDs are not guaranteed to be globally unique, because they are generated out of locally gathered pseudo-random numbers only. Nevertheless there is still a high likelihood of uniqueness over space and time and that they are computationally difficult to guess. * Loosely based off of work of http ://www.php.net/manual/en/function.uniqid.php#88434 Marius Karthaus | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php#L99 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php] on line 99 | ||
*Signature: static public function generateUUID($version) | *Signature: static public function generateUUID($version) | ||
*Parameters: | *Parameters: | ||
Line 31: | Line 35: | ||
===hasInvalid()=== | ===hasInvalid()=== | ||
Checks to see if any fields of form has in invalid message | Checks to see if any fields of form has in invalid message | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php#L40 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php] on line 40 | ||
*Signature: public function hasInvalid() | *Signature: public function hasInvalid() | ||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | ||
===isValidUUID()=== | ===isValidUUID()=== | ||
Ensure that the given id is aUUID | Ensure that the given id is aUUID | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php#L53 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php] on line 53 | ||
*Signature: static public function isValidUUID($id) | *Signature: static public function isValidUUID($id) | ||
*Parameters: | *Parameters: | ||
** [http://www.php.net/manual/en/language.types.string.php string ] $id | ** [http://www.php.net/manual/en/language.types.string.php string ] $id | ||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | *Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | ||
==Inherited Methods== | ==Inherited Methods== | ||
===__construct()=== | ===__construct()=== | ||
Line 48: | Line 53: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#addChildForm() | I2CE_Form->addChildForm()]] | This public method is inherited from [[Class: I2CE_Form (Development)#addChildForm() | I2CE_Form->addChildForm()]] | ||
=== | ===childFormAdded()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#childFormAdded() | I2CE_Form->childFormAdded()]] | ||
===cleanup()=== | ===cleanup()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#cleanup() | I2CE_Form->cleanup()]] | This public method is inherited from [[Class: I2CE_Form (Development)#cleanup() | I2CE_Form->cleanup()]] | ||
===displayField()=== | ===displayField()=== | ||
Line 68: | Line 67: | ||
===getAllowedParentForms()=== | ===getAllowedParentForms()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#getAllowedParentForms() | I2CE_Form->getAllowedParentForms()]] | This public method is inherited from [[Class: I2CE_Form (Development)#getAllowedParentForms() | I2CE_Form->getAllowedParentForms()]] | ||
===getChildForms()=== | ===getChildForms()=== | ||
Line 87: | Line 83: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#getField() | I2CE_Form->getField()]] | This public method is inherited from [[Class: I2CE_Form (Development)#getField() | I2CE_Form->getField()]] | ||
=== | ===getFormID()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#getFormID() | I2CE_Form->getFormID()]] | ||
=== | ===getHistory()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#getHistory() | I2CE_Form->getHistory()]] | ||
===getParent()=== | ===getParent()=== | ||
Line 107: | Line 97: | ||
===getParentID()=== | ===getParentID()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#getParentID() | I2CE_Form->getParentID()]] | This public method is inherited from [[Class: I2CE_Form (Development)#getParentID() | I2CE_Form->getParentID()]] | ||
===getPost()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getPost() | I2CE_Form->getPost()]] | |||
===listFields()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#listFields() | I2CE_Form->listFields()]] | |||
===parentIsSet()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#parentIsSet() | I2CE_Form->parentIsSet()]] | |||
===processDOM()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#processDOM() | I2CE_Form->processDOM()]] | |||
===reset()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#reset() | I2CE_Form->reset()]] | |||
===search()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#search() | I2CE_Form->search()]] | |||
===setCreated()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#setCreated() | I2CE_Form->setCreated()]] | |||
===setDisplayName()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#setDisplayName() | I2CE_Form->setDisplayName()]] | |||
===setForm()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#setForm() | I2CE_Form->setForm()]] | |||
===setFromPost()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#setFromPost() | I2CE_Form->setFromPost()]] | |||
===setLastModified()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#setLastModified() | I2CE_Form->setLastModified()]] | |||
===setParent()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#setParent() | I2CE_Form->setParent()]] | |||
===isValidFieldName()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#isValidFieldName() | I2CE_Form->isValidFieldName()]] | |||
===lookupArray()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#lookupArray() | I2CE_Form->lookupArray()]] | |||
===preProcessFieldArgs()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#preProcessFieldArgs() | I2CE_Form->preProcessFieldArgs()]] | |||
===setupCreatedField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupCreatedField() | I2CE_Form->setupCreatedField()]] | |||
===setupLastModifiedField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupLastModifiedField() | I2CE_Form->setupLastModifiedField()]] | |||
===setupParentField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupParentField() | I2CE_Form->setupParentField()]] | |||
===__get()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__get() | I2CE_FieldContainer->__get()]] | |||
===__isset()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__isset() | I2CE_FieldContainer->__isset()]] | |||
===__set()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__set() | I2CE_FieldContainer->__set()]] | |||
===__unset()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__unset() | I2CE_FieldContainer->__unset()]] | |||
===addField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#addField() | I2CE_FieldContainer->addField()]] | |||
===clearFields()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#clearFields() | I2CE_FieldContainer->clearFields()]] | |||
===current()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#current() | I2CE_FieldContainer->current()]] | |||
===getAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getAttribute() | I2CE_FieldContainer->getAttribute()]] | |||
===getContainerIndex()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getContainerIndex() | I2CE_FieldContainer->getContainerIndex()]] | |||
===getContainerType()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getContainerType() | I2CE_FieldContainer->getContainerType()]] | |||
===getFieldNames()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getFieldNames() | I2CE_FieldContainer->getFieldNames()]] | |||
===getHTMLName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getHTMLName() | I2CE_FieldContainer->getHTMLName()]] | |||
===getId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getId() | I2CE_FieldContainer->getId()]] | |||
===getLoad()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getLoad() | I2CE_FieldContainer->getLoad()]] | |||
===getMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getMeta() | I2CE_FieldContainer->getMeta()]] | |||
===getName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getName() | I2CE_FieldContainer->getName()]] | |||
===getNameId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getNameId() | I2CE_FieldContainer->getNameId()]] | |||
===getQueryDisplay()=== | ===getQueryDisplay()=== | ||
This public method is inherited from [[Class: | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryDisplay() | I2CE_FieldContainer->getQueryDisplay()]] | ||
===getQueryFields()=== | ===getQueryFields()=== | ||
This public method is inherited from [[Class: | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryFields() | I2CE_FieldContainer->getQueryFields()]] | ||
===getQueryString()=== | ===getQueryString()=== | ||
This public method is inherited from [[Class: | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryString() | I2CE_FieldContainer->getQueryString()]] | ||
===hasAttribute()=== | ===hasAttribute()=== | ||
This public method is inherited from [[Class: | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasAttribute() | I2CE_FieldContainer->hasAttribute()]] | ||
===hasField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasField() | I2CE_FieldContainer->hasField()]] | |||
===hasMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasMeta() | I2CE_FieldContainer->hasMeta()]] | |||
===isValid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#isValid() | I2CE_FieldContainer->isValid()]] | |||
===key()=== | ===key()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#key() | I2CE_FieldContainer->key()]] | ||
===load()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#load() | I2CE_FieldContainer->load()]] | |||
===next()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#next() | I2CE_FieldContainer->next()]] | |||
===removeField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#removeField() | I2CE_FieldContainer->removeField()]] | |||
===rewind()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#rewind() | I2CE_FieldContainer->rewind()]] | |||
===setAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setAttribute() | I2CE_FieldContainer->setAttribute()]] | |||
===setId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setId() | I2CE_FieldContainer->setId()]] | |||
===setInvalidMessage()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setInvalidMessage() | I2CE_FieldContainer->setInvalidMessage()]] | |||
===setMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setMeta() | I2CE_FieldContainer->setMeta()]] | |||
===setName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setName() | I2CE_FieldContainer->setName()]] | |||
===valid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#valid() | I2CE_FieldContainer->valid()]] | |||
===validate()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#validate() | I2CE_FieldContainer->validate()]] | |||
===addFields()=== | |||
This protected method is inherited from [[Class: I2CE_FieldContainer (Development)#addFields() | I2CE_FieldContainer->addFields()]] | |||
===getAttributes()=== | |||
This protected method is inherited from [[Class: I2CE_FieldContainer (Development)#getAttributes() | I2CE_FieldContainer->getAttributes()]] | |||
===_hasMethod()=== | |||
This public method is inherited from [[Class: I2CE_Fuzzy (Development)#_hasMethod() | I2CE_Fuzzy->_hasMethod()]] | |||
==Inherited Variables== | |||
===$children=== | |||
Theis public variable is inherited from [[Class: I2CE_Form (Development)#$children | I2CE_Form->$children]] | |||
===$parent_forms=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$parent_forms | I2CE_Form->$parent_forms]] | |||
===$parentField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$parentField | I2CE_Form->$parentField]] | |||
===$lastModifiedField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$lastModifiedField | I2CE_Form->$lastModifiedField]] | |||
===$createdField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$createdField | I2CE_Form->$createdField]] | |||
===$name=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$name | I2CE_FieldContainer->$name]] | |||
===$display_name=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$display_name | I2CE_FieldContainer->$display_name]] | |||
===$fields=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$fields | I2CE_FieldContainer->$fields]] | |||
===$attributes=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$attributes | I2CE_FieldContainer->$attributes]] | |||
===$id=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$id | I2CE_FieldContainer->$id]] | |||
===$factory=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$factory | I2CE_FieldContainer->$factory]] | |||
==Inherited Fuzzy Methods== | |||
===isNumeric()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#isNumeric() | I2CE_Form->isNumeric()]] | |||
===getLimitStyles()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#getLimitStyles() | I2CE_Form->getLimitStyles()]] | |||
===checkLimit()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#checkLimit() | I2CE_Form->checkLimit()]] | |||
===checkWhereClause()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#checkWhereClause() | I2CE_Form->checkWhereClause()]] | |||
===createCheckFunction()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#createCheckFunction() | I2CE_Form->createCheckFunction()]] | |||
===createCheckLimitString()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#createCheckLimitString() | I2CE_Form->createCheckLimitString()]] | |||
===generateLimit()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#generateLimit() | I2CE_Form->generateLimit()]] | |||
===generateWhereClause()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#generateWhereClause() | I2CE_Form->generateWhereClause()]] | |||
===isComponentized()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#isComponentized() | I2CE_Form->isComponentized()]] | |||
===addChild()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#addChild() | I2CE_Form->addChild()]] | |||
===getChildIds()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#getChildIds() | I2CE_Form->getChildIds()]] | |||
===getStorage()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#getStorage() | I2CE_Form->getStorage()]] | |||
===isWritable()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#isWritable() | I2CE_Form->isWritable()]] | |||
===populate()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#populate() | I2CE_Form->populate()]] | |||
===duplicate()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#duplicate() | I2CE_Form->duplicate()]] | |||
===storeHistory()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#storeHistory() | I2CE_Form->storeHistory()]] | |||
===populateChild()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#populateChild() | I2CE_Form->populateChild()]] | |||
===populateChildren()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#populateChildren() | I2CE_Form->populateChildren()]] | |||
===populateFirst()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#populateFirst() | I2CE_Form->populateFirst()]] | |||
===populateHistory()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#populateHistory() | I2CE_Form->populateHistory()]] | |||
===populateLast()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#populateLast() | I2CE_Form->populateLast()]] | |||
===delete()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#delete() | I2CE_Form->delete()]] | |||
===save()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#save() | I2CE_Form->save()]] | |||
===setChangeType()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#setChangeType() | I2CE_Form->setChangeType()]] | |||
===changeID()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#changeID() | I2CE_Form->changeID()]] | |||
===userMessage()=== | |||
This method is inherited from [[Class: I2CE_Fuzzy (Development)#userMessage() | I2CE_Fuzzy->userMessage()]] | |||
=common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php= | |||
This article describes the class ''iHRIS_UUID_Map'' . | |||
*Extends the class: [[Class: I2CE_Form (Development) | I2CE_Form]]. | |||
*Location: Part of the module [[iHRIS Common Module List (Development)#UUID_map|UUID_map]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4.1-dev | |||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php#L33 modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php] on line 33 | |||
*Author: Carl Leitner <litlfred@ibiblio.org> | |||
*Since: v4.0.0 | |||
@filesource Class iHRIS_UUID_Map for pecl-uuid | |||
==Form Fields== | |||
This class is a [[Class: I2CE_Form (Development) |form class]] and provides the following [[Class: I2CE_FormField (Development) |form fields]] | |||
===formid=== | |||
The form field ''formid'' is implemented by [[Class: I2CE_FormField_MAP (Development) |MAP ]] | |||
==Methods== | |||
===generateUUID()=== | |||
Wrapper function to fenerates a UUID via the pecl uuid module. More http ://pwet.fr/man/linux/fonctions_bibliotheques/ossp/uuid doucmentation on ossp uuid. <br/> Version 1 UUIDs are guaranteed to be unique through combinations of hardware addresses, time stamps and random seeds. There is a reference in the UUID to the hardware (MAC) address of the first network interface card (NIC) on the host which generated the UUID this reference is intended to ensure the UUID will be unique in space as the MAC address of every network card is assigned by a single global authority (IEEE) and is guaranteed to be unique. The next component in a UUID is a timestamp which, as clock always (should) move forward, will be unique in time. Just in case some part of the above goes wrong (the hardware address cannot be determined or the clock moved steps backward), there is a random clock sequence component placed into the UUID as a catch-all for uniqueness. <br/> Version 3 and version 5 UUIDs are guaranteed to be inherently globally unique if the combination of namespace and name used to generate them is unique. It is not supported at the moment <br/> Version 4 UUIDs are not guaranteed to be globally unique, because they are generated out of locally gathered pseudo-random numbers only. Nevertheless there is still a high likelihood of uniqueness over space and time and that they are computationally difficult to guess. * http://manpages.ubuntu.com/manpages/dapper/man3/uuid.3ossp.html V1 -- Time an node V4 -- random data | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php#L78 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php] on line 78 | |||
*Signature: static public function generateUUID($version) | |||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.string.php string ] $version <br/>Defaults to 1 @retruns mixed string or false on failure | |||
***Default Value: 4 | |||
===hasInvalid()=== | |||
Checks to see if any fields of form has in invalid message | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php#L40 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php] on line 40 | |||
*Signature: public function hasInvalid() | |||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | |||
===isValidUUID()=== | |||
Ensure that the given id is aUUID | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php#L53 common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php] on line 53 | |||
*Signature: static public function isValidUUID($id) | |||
*Parameters: | |||
** [http://www.php.net/manual/en/language.types.string.php string ] $id | |||
*Returns: [http://www.php.net/manual/en/language.types.boolean.php boolean ] | |||
==Inherited Methods== | |||
===__construct()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#__construct() | I2CE_Form->__construct()]] | |||
===addChildForm()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#addChildForm() | I2CE_Form->addChildForm()]] | |||
===childFormAdded()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#childFormAdded() | I2CE_Form->childFormAdded()]] | |||
===cleanup()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#cleanup() | I2CE_Form->cleanup()]] | |||
===displayField()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#displayField() | I2CE_Form->displayField()]] | |||
===form()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#form() | I2CE_Form->form()]] | |||
===getAllowedParentForms()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getAllowedParentForms() | I2CE_Form->getAllowedParentForms()]] | |||
===getChildForms()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getChildForms() | I2CE_Form->getChildForms()]] | |||
===getChildFormsByForm()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getChildFormsByForm() | I2CE_Form->getChildFormsByForm()]] | |||
===getChildren()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getChildren() | I2CE_Form->getChildren()]] | |||
===getDisplayName()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getDisplayName() | I2CE_Form->getDisplayName()]] | |||
===getField()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getField() | I2CE_Form->getField()]] | |||
===getFormID()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getFormID() | I2CE_Form->getFormID()]] | |||
===getHistory()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getHistory() | I2CE_Form->getHistory()]] | |||
===getParent()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getParent() | I2CE_Form->getParent()]] | |||
===getParentForm()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getParentForm() | I2CE_Form->getParentForm()]] | |||
===getParentID()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getParentID() | I2CE_Form->getParentID()]] | |||
===getPost()=== | |||
This public method is inherited from [[Class: I2CE_Form (Development)#getPost() | I2CE_Form->getPost()]] | |||
===listFields()=== | ===listFields()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#listFields() | I2CE_Form->listFields()]] | This public method is inherited from [[Class: I2CE_Form (Development)#listFields() | I2CE_Form->listFields()]] | ||
=== | ===parentIsSet()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#parentIsSet() | I2CE_Form->parentIsSet()]] | ||
===processDOM()=== | ===processDOM()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#processDOM() | I2CE_Form->processDOM()]] | This public method is inherited from [[Class: I2CE_Form (Development)#processDOM() | I2CE_Form->processDOM()]] | ||
===reset()=== | ===reset()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#reset() | I2CE_Form->reset()]] | This public method is inherited from [[Class: I2CE_Form (Development)#reset() | I2CE_Form->reset()]] | ||
===search()=== | ===search()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#search() | I2CE_Form->search()]] | This public method is inherited from [[Class: I2CE_Form (Development)#search() | I2CE_Form->search()]] | ||
=== | ===setCreated()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#setCreated() | I2CE_Form->setCreated()]] | ||
===setDisplayName()=== | ===setDisplayName()=== | ||
Line 159: | Line 494: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#setFromPost() | I2CE_Form->setFromPost()]] | This public method is inherited from [[Class: I2CE_Form (Development)#setFromPost() | I2CE_Form->setFromPost()]] | ||
=== | ===setLastModified()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#setLastModified() | I2CE_Form->setLastModified()]] | ||
===setParent()=== | ===setParent()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#setParent() | I2CE_Form->setParent()]] | This public method is inherited from [[Class: I2CE_Form (Development)#setParent() | I2CE_Form->setParent()]] | ||
=== | ===isValidFieldName()=== | ||
This | This protected method is inherited from [[Class: I2CE_Form (Development)#isValidFieldName() | I2CE_Form->isValidFieldName()]] | ||
===lookupArray()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#lookupArray() | I2CE_Form->lookupArray()]] | |||
===preProcessFieldArgs()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#preProcessFieldArgs() | I2CE_Form->preProcessFieldArgs()]] | |||
===setupCreatedField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupCreatedField() | I2CE_Form->setupCreatedField()]] | |||
===setupLastModifiedField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupLastModifiedField() | I2CE_Form->setupLastModifiedField()]] | |||
=== | ===setupParentField()=== | ||
This | This protected method is inherited from [[Class: I2CE_Form (Development)#setupParentField() | I2CE_Form->setupParentField()]] | ||
===__get()=== | ===__get()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__get() | I2CE_FieldContainer->__get()]] | ||
===__isset()=== | ===__isset()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__isset() | I2CE_FieldContainer->__isset()]] | ||
===__set()=== | ===__set()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__set() | I2CE_FieldContainer->__set()]] | ||
===__unset()=== | ===__unset()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__unset() | I2CE_FieldContainer->__unset()]] | ||
===addField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#addField() | I2CE_FieldContainer->addField()]] | |||
===clearFields()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#clearFields() | I2CE_FieldContainer->clearFields()]] | |||
===current()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#current() | I2CE_FieldContainer->current()]] | |||
===getAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getAttribute() | I2CE_FieldContainer->getAttribute()]] | |||
===getContainerIndex()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getContainerIndex() | I2CE_FieldContainer->getContainerIndex()]] | |||
===getContainerType()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getContainerType() | I2CE_FieldContainer->getContainerType()]] | |||
===getFieldNames()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getFieldNames() | I2CE_FieldContainer->getFieldNames()]] | |||
===getHTMLName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getHTMLName() | I2CE_FieldContainer->getHTMLName()]] | |||
===getId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getId() | I2CE_FieldContainer->getId()]] | |||
===getLoad()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getLoad() | I2CE_FieldContainer->getLoad()]] | |||
===getMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getMeta() | I2CE_FieldContainer->getMeta()]] | |||
===getName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getName() | I2CE_FieldContainer->getName()]] | |||
===getNameId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getNameId() | I2CE_FieldContainer->getNameId()]] | |||
=== | ===getQueryDisplay()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryDisplay() | I2CE_FieldContainer->getQueryDisplay()]] | ||
=== | ===getQueryFields()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryFields() | I2CE_FieldContainer->getQueryFields()]] | ||
=== | ===getQueryString()=== | ||
This protected method is inherited from [[Class: | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryString() | I2CE_FieldContainer->getQueryString()]] | ||
===hasAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasAttribute() | I2CE_FieldContainer->hasAttribute()]] | |||
===hasField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasField() | I2CE_FieldContainer->hasField()]] | |||
===hasMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasMeta() | I2CE_FieldContainer->hasMeta()]] | |||
===isValid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#isValid() | I2CE_FieldContainer->isValid()]] | |||
===key()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#key() | I2CE_FieldContainer->key()]] | |||
===load()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#load() | I2CE_FieldContainer->load()]] | |||
===next()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#next() | I2CE_FieldContainer->next()]] | |||
===removeField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#removeField() | I2CE_FieldContainer->removeField()]] | |||
===rewind()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#rewind() | I2CE_FieldContainer->rewind()]] | |||
===setAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setAttribute() | I2CE_FieldContainer->setAttribute()]] | |||
===setId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setId() | I2CE_FieldContainer->setId()]] | |||
===setInvalidMessage()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setInvalidMessage() | I2CE_FieldContainer->setInvalidMessage()]] | |||
===setMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setMeta() | I2CE_FieldContainer->setMeta()]] | |||
===setName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setName() | I2CE_FieldContainer->setName()]] | |||
===valid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#valid() | I2CE_FieldContainer->valid()]] | |||
===validate()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#validate() | I2CE_FieldContainer->validate()]] | |||
===addFields()=== | |||
This protected method is inherited from [[Class: I2CE_FieldContainer (Development)#addFields() | I2CE_FieldContainer->addFields()]] | |||
===getAttributes()=== | |||
This protected method is inherited from [[Class: I2CE_FieldContainer (Development)#getAttributes() | I2CE_FieldContainer->getAttributes()]] | |||
===_hasMethod()=== | ===_hasMethod()=== | ||
Line 197: | Line 637: | ||
===$children=== | ===$children=== | ||
Theis public variable is inherited from [[Class: I2CE_Form (Development)#$children | I2CE_Form->$children]] | Theis public variable is inherited from [[Class: I2CE_Form (Development)#$children | I2CE_Form->$children]] | ||
===$parent_forms=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$parent_forms | I2CE_Form->$parent_forms]] | |||
===$parentField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$parentField | I2CE_Form->$parentField]] | |||
===$lastModifiedField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$lastModifiedField | I2CE_Form->$lastModifiedField]] | |||
===$createdField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$createdField | I2CE_Form->$createdField]] | |||
===$name=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$name | I2CE_FieldContainer->$name]] | |||
===$display_name=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$display_name | I2CE_FieldContainer->$display_name]] | |||
===$fields=== | ===$fields=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$fields | I2CE_FieldContainer->$fields]] | ||
===$ | ===$attributes=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$attributes | I2CE_FieldContainer->$attributes]] | ||
===$id=== | ===$id=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$id | I2CE_FieldContainer->$id]] | ||
===$ | ===$factory=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$factory | I2CE_FieldContainer->$factory]] | ||
==Inherited Fuzzy Methods== | ==Inherited Fuzzy Methods== | ||
===isNumeric()=== | ===isNumeric()=== | ||
Line 236: | Line 691: | ||
===generateWhereClause()=== | ===generateWhereClause()=== | ||
This method is inherited from [[Class: I2CE_Form (Development)#generateWhereClause() | I2CE_Form->generateWhereClause()]] | This method is inherited from [[Class: I2CE_Form (Development)#generateWhereClause() | I2CE_Form->generateWhereClause()]] | ||
===isComponentized()=== | ===isComponentized()=== | ||
Line 260: | Line 709: | ||
===populate()=== | ===populate()=== | ||
This method is inherited from [[Class: I2CE_Form (Development)#populate() | I2CE_Form->populate()]] | This method is inherited from [[Class: I2CE_Form (Development)#populate() | I2CE_Form->populate()]] | ||
===duplicate()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#duplicate() | I2CE_Form->duplicate()]] | |||
===storeHistory()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#storeHistory() | I2CE_Form->storeHistory()]] | |||
===populateChild()=== | ===populateChild()=== | ||
Line 284: | Line 739: | ||
===setChangeType()=== | ===setChangeType()=== | ||
This method is inherited from [[Class: I2CE_Form (Development)#setChangeType() | I2CE_Form->setChangeType()]] | This method is inherited from [[Class: I2CE_Form (Development)#setChangeType() | I2CE_Form->setChangeType()]] | ||
===changeID()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#changeID() | I2CE_Form->changeID()]] | |||
===userMessage()=== | ===userMessage()=== |
Latest revision as of 08:32, 6 May 2015
The class iHRIS_UUID_Map contains 2 definitions:
- Definition in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php of the package iHRIS Common
- Definition in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php of the package iHRIS Common
common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php
This article describes the class iHRIS_UUID_Map .
- Extends the class: I2CE_Form.
- Location: Part of the module UUID_map in the package iHRIS Common 4.1-dev
- Source: Defined in the file modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.0
@filesource Class iHRIS_UUID_Map for pecl uuid http://freezerfrog.com/2009/12/generating-a-uuid-in-php-using-pecl-uuid/comment-page-1/
Form Fields
This class is a form class and provides the following form fields
formid
The form field formid is implemented by MAP
Variables
$uuidobject
The uuid object used to create uuids on resource $uuidobject
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php on line 63
- Type: static protected protected $uuidobject
Methods
ensure()
On long running deamons i've seen a lost resource. This checks the resource and creates it if needed.
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php on line 69
- Signature: static protected function ensure()
generateUUID()
Wrapper function to fenerates a UUID via the pecl uuid module. More http ://pwet.fr/man/linux/fonctions_bibliotheques/ossp/uuid doucmentation on ossp uuid.
Version 1 UUIDs are guaranteed to be unique through combinations of hardware addresses, time stamps and random seeds. There is a reference in the UUID to the hardware (MAC) address of the first network interface card (NIC) on the host which generated the UUID this reference is intended to ensure the UUID will be unique in space as the MAC address of every network card is assigned by a single global authority (IEEE) and is guaranteed to be unique. The next component in a UUID is a timestamp which, as clock always (should) move forward, will be unique in time. Just in case some part of the above goes wrong (the hardware address cannot be determined or the clock moved steps backward), there is a random clock sequence component placed into the UUID as a catch-all for uniqueness.
Version 3 and version 5 UUIDs are guaranteed to be inherently globally unique if the combination of namespace and name used to generate them is unique. It is not supported at the moment
Version 4 UUIDs are not guaranteed to be globally unique, because they are generated out of locally gathered pseudo-random numbers only. Nevertheless there is still a high likelihood of uniqueness over space and time and that they are computationally difficult to guess. * Loosely based off of work of http ://www.php.net/manual/en/function.uniqid.php#88434 Marius Karthaus
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php on line 99
- Signature: static public function generateUUID($version)
- Parameters:
- string $version
Defaults to 1 @retruns mixed string or false on failure- Default Value: 4
- string $version
hasInvalid()
Checks to see if any fields of form has in invalid message
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php on line 40
- Signature: public function hasInvalid()
- Returns: boolean
isValidUUID()
Ensure that the given id is aUUID
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_ossp.php on line 53
- Signature: static public function isValidUUID($id)
- Parameters:
- string $id
- Returns: boolean
Inherited Methods
__construct()
This public method is inherited from I2CE_Form->__construct()
addChildForm()
This public method is inherited from I2CE_Form->addChildForm()
childFormAdded()
This public method is inherited from I2CE_Form->childFormAdded()
cleanup()
This public method is inherited from I2CE_Form->cleanup()
displayField()
This public method is inherited from I2CE_Form->displayField()
form()
This public method is inherited from I2CE_Form->form()
getAllowedParentForms()
This public method is inherited from I2CE_Form->getAllowedParentForms()
getChildForms()
This public method is inherited from I2CE_Form->getChildForms()
getChildFormsByForm()
This public method is inherited from I2CE_Form->getChildFormsByForm()
getChildren()
This public method is inherited from I2CE_Form->getChildren()
getDisplayName()
This public method is inherited from I2CE_Form->getDisplayName()
getField()
This public method is inherited from I2CE_Form->getField()
getFormID()
This public method is inherited from I2CE_Form->getFormID()
getHistory()
This public method is inherited from I2CE_Form->getHistory()
getParent()
This public method is inherited from I2CE_Form->getParent()
getParentForm()
This public method is inherited from I2CE_Form->getParentForm()
getParentID()
This public method is inherited from I2CE_Form->getParentID()
getPost()
This public method is inherited from I2CE_Form->getPost()
listFields()
This public method is inherited from I2CE_Form->listFields()
parentIsSet()
This public method is inherited from I2CE_Form->parentIsSet()
processDOM()
This public method is inherited from I2CE_Form->processDOM()
reset()
This public method is inherited from I2CE_Form->reset()
search()
This public method is inherited from I2CE_Form->search()
setCreated()
This public method is inherited from I2CE_Form->setCreated()
setDisplayName()
This public method is inherited from I2CE_Form->setDisplayName()
setForm()
This public method is inherited from I2CE_Form->setForm()
setFromPost()
This public method is inherited from I2CE_Form->setFromPost()
setLastModified()
This public method is inherited from I2CE_Form->setLastModified()
setParent()
This public method is inherited from I2CE_Form->setParent()
isValidFieldName()
This protected method is inherited from I2CE_Form->isValidFieldName()
lookupArray()
This protected method is inherited from I2CE_Form->lookupArray()
preProcessFieldArgs()
This protected method is inherited from I2CE_Form->preProcessFieldArgs()
setupCreatedField()
This protected method is inherited from I2CE_Form->setupCreatedField()
setupLastModifiedField()
This protected method is inherited from I2CE_Form->setupLastModifiedField()
setupParentField()
This protected method is inherited from I2CE_Form->setupParentField()
__get()
This public method is inherited from I2CE_FieldContainer->__get()
__isset()
This public method is inherited from I2CE_FieldContainer->__isset()
__set()
This public method is inherited from I2CE_FieldContainer->__set()
__unset()
This public method is inherited from I2CE_FieldContainer->__unset()
addField()
This public method is inherited from I2CE_FieldContainer->addField()
clearFields()
This public method is inherited from I2CE_FieldContainer->clearFields()
current()
This public method is inherited from I2CE_FieldContainer->current()
getAttribute()
This public method is inherited from I2CE_FieldContainer->getAttribute()
getContainerIndex()
This public method is inherited from I2CE_FieldContainer->getContainerIndex()
getContainerType()
This public method is inherited from I2CE_FieldContainer->getContainerType()
getFieldNames()
This public method is inherited from I2CE_FieldContainer->getFieldNames()
getHTMLName()
This public method is inherited from I2CE_FieldContainer->getHTMLName()
getId()
This public method is inherited from I2CE_FieldContainer->getId()
getLoad()
This public method is inherited from I2CE_FieldContainer->getLoad()
getMeta()
This public method is inherited from I2CE_FieldContainer->getMeta()
getName()
This public method is inherited from I2CE_FieldContainer->getName()
getNameId()
This public method is inherited from I2CE_FieldContainer->getNameId()
getQueryDisplay()
This public method is inherited from I2CE_FieldContainer->getQueryDisplay()
getQueryFields()
This public method is inherited from I2CE_FieldContainer->getQueryFields()
getQueryString()
This public method is inherited from I2CE_FieldContainer->getQueryString()
hasAttribute()
This public method is inherited from I2CE_FieldContainer->hasAttribute()
hasField()
This public method is inherited from I2CE_FieldContainer->hasField()
hasMeta()
This public method is inherited from I2CE_FieldContainer->hasMeta()
isValid()
This public method is inherited from I2CE_FieldContainer->isValid()
key()
This public method is inherited from I2CE_FieldContainer->key()
load()
This public method is inherited from I2CE_FieldContainer->load()
next()
This public method is inherited from I2CE_FieldContainer->next()
removeField()
This public method is inherited from I2CE_FieldContainer->removeField()
rewind()
This public method is inherited from I2CE_FieldContainer->rewind()
setAttribute()
This public method is inherited from I2CE_FieldContainer->setAttribute()
setId()
This public method is inherited from I2CE_FieldContainer->setId()
setInvalidMessage()
This public method is inherited from I2CE_FieldContainer->setInvalidMessage()
setMeta()
This public method is inherited from I2CE_FieldContainer->setMeta()
setName()
This public method is inherited from I2CE_FieldContainer->setName()
valid()
This public method is inherited from I2CE_FieldContainer->valid()
validate()
This public method is inherited from I2CE_FieldContainer->validate()
addFields()
This protected method is inherited from I2CE_FieldContainer->addFields()
getAttributes()
This protected method is inherited from I2CE_FieldContainer->getAttributes()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$children
Theis public variable is inherited from I2CE_Form->$children
$parent_forms
Theis protected variable is inherited from I2CE_Form->$parent_forms
$parentField
Theis protected variable is inherited from I2CE_Form->$parentField
$lastModifiedField
Theis protected variable is inherited from I2CE_Form->$lastModifiedField
$createdField
Theis protected variable is inherited from I2CE_Form->$createdField
$name
Theis protected variable is inherited from I2CE_FieldContainer->$name
$display_name
Theis protected variable is inherited from I2CE_FieldContainer->$display_name
$fields
Theis protected variable is inherited from I2CE_FieldContainer->$fields
$attributes
Theis protected variable is inherited from I2CE_FieldContainer->$attributes
$id
Theis protected variable is inherited from I2CE_FieldContainer->$id
$factory
Theis protected variable is inherited from I2CE_FieldContainer->$factory
Inherited Fuzzy Methods
isNumeric()
This method is inherited from I2CE_Form->isNumeric()
getLimitStyles()
This method is inherited from I2CE_Form->getLimitStyles()
checkLimit()
This method is inherited from I2CE_Form->checkLimit()
checkWhereClause()
This method is inherited from I2CE_Form->checkWhereClause()
createCheckFunction()
This method is inherited from I2CE_Form->createCheckFunction()
createCheckLimitString()
This method is inherited from I2CE_Form->createCheckLimitString()
generateLimit()
This method is inherited from I2CE_Form->generateLimit()
generateWhereClause()
This method is inherited from I2CE_Form->generateWhereClause()
isComponentized()
This method is inherited from I2CE_Form->isComponentized()
addChild()
This method is inherited from I2CE_Form->addChild()
getChildIds()
This method is inherited from I2CE_Form->getChildIds()
getStorage()
This method is inherited from I2CE_Form->getStorage()
isWritable()
This method is inherited from I2CE_Form->isWritable()
populate()
This method is inherited from I2CE_Form->populate()
duplicate()
This method is inherited from I2CE_Form->duplicate()
storeHistory()
This method is inherited from I2CE_Form->storeHistory()
populateChild()
This method is inherited from I2CE_Form->populateChild()
populateChildren()
This method is inherited from I2CE_Form->populateChildren()
populateFirst()
This method is inherited from I2CE_Form->populateFirst()
populateHistory()
This method is inherited from I2CE_Form->populateHistory()
populateLast()
This method is inherited from I2CE_Form->populateLast()
delete()
This method is inherited from I2CE_Form->delete()
save()
This method is inherited from I2CE_Form->save()
setChangeType()
This method is inherited from I2CE_Form->setChangeType()
changeID()
This method is inherited from I2CE_Form->changeID()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()
common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php
This article describes the class iHRIS_UUID_Map .
- Extends the class: I2CE_Form.
- Location: Part of the module UUID_map in the package iHRIS Common 4.1-dev
- Source: Defined in the file modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php on line 33
- Author: Carl Leitner <litlfred@ibiblio.org>
- Since: v4.0.0
@filesource Class iHRIS_UUID_Map for pecl-uuid
Form Fields
This class is a form class and provides the following form fields
formid
The form field formid is implemented by MAP
Methods
generateUUID()
Wrapper function to fenerates a UUID via the pecl uuid module. More http ://pwet.fr/man/linux/fonctions_bibliotheques/ossp/uuid doucmentation on ossp uuid.
Version 1 UUIDs are guaranteed to be unique through combinations of hardware addresses, time stamps and random seeds. There is a reference in the UUID to the hardware (MAC) address of the first network interface card (NIC) on the host which generated the UUID this reference is intended to ensure the UUID will be unique in space as the MAC address of every network card is assigned by a single global authority (IEEE) and is guaranteed to be unique. The next component in a UUID is a timestamp which, as clock always (should) move forward, will be unique in time. Just in case some part of the above goes wrong (the hardware address cannot be determined or the clock moved steps backward), there is a random clock sequence component placed into the UUID as a catch-all for uniqueness.
Version 3 and version 5 UUIDs are guaranteed to be inherently globally unique if the combination of namespace and name used to generate them is unique. It is not supported at the moment
Version 4 UUIDs are not guaranteed to be globally unique, because they are generated out of locally gathered pseudo-random numbers only. Nevertheless there is still a high likelihood of uniqueness over space and time and that they are computationally difficult to guess. * http://manpages.ubuntu.com/manpages/dapper/man3/uuid.3ossp.html V1 -- Time an node V4 -- random data
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php on line 78
- Signature: static public function generateUUID($version)
- Parameters:
- string $version
Defaults to 1 @retruns mixed string or false on failure- Default Value: 4
- string $version
hasInvalid()
Checks to see if any fields of form has in invalid message
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php on line 40
- Signature: public function hasInvalid()
- Returns: boolean
isValidUUID()
Ensure that the given id is aUUID
- Defined in common/modules/UUID/lib/classDefs/iHRIS_UUID_Map_pecl.php on line 53
- Signature: static public function isValidUUID($id)
- Parameters:
- string $id
- Returns: boolean
Inherited Methods
__construct()
This public method is inherited from I2CE_Form->__construct()
addChildForm()
This public method is inherited from I2CE_Form->addChildForm()
childFormAdded()
This public method is inherited from I2CE_Form->childFormAdded()
cleanup()
This public method is inherited from I2CE_Form->cleanup()
displayField()
This public method is inherited from I2CE_Form->displayField()
form()
This public method is inherited from I2CE_Form->form()
getAllowedParentForms()
This public method is inherited from I2CE_Form->getAllowedParentForms()
getChildForms()
This public method is inherited from I2CE_Form->getChildForms()
getChildFormsByForm()
This public method is inherited from I2CE_Form->getChildFormsByForm()
getChildren()
This public method is inherited from I2CE_Form->getChildren()
getDisplayName()
This public method is inherited from I2CE_Form->getDisplayName()
getField()
This public method is inherited from I2CE_Form->getField()
getFormID()
This public method is inherited from I2CE_Form->getFormID()
getHistory()
This public method is inherited from I2CE_Form->getHistory()
getParent()
This public method is inherited from I2CE_Form->getParent()
getParentForm()
This public method is inherited from I2CE_Form->getParentForm()
getParentID()
This public method is inherited from I2CE_Form->getParentID()
getPost()
This public method is inherited from I2CE_Form->getPost()
listFields()
This public method is inherited from I2CE_Form->listFields()
parentIsSet()
This public method is inherited from I2CE_Form->parentIsSet()
processDOM()
This public method is inherited from I2CE_Form->processDOM()
reset()
This public method is inherited from I2CE_Form->reset()
search()
This public method is inherited from I2CE_Form->search()
setCreated()
This public method is inherited from I2CE_Form->setCreated()
setDisplayName()
This public method is inherited from I2CE_Form->setDisplayName()
setForm()
This public method is inherited from I2CE_Form->setForm()
setFromPost()
This public method is inherited from I2CE_Form->setFromPost()
setLastModified()
This public method is inherited from I2CE_Form->setLastModified()
setParent()
This public method is inherited from I2CE_Form->setParent()
isValidFieldName()
This protected method is inherited from I2CE_Form->isValidFieldName()
lookupArray()
This protected method is inherited from I2CE_Form->lookupArray()
preProcessFieldArgs()
This protected method is inherited from I2CE_Form->preProcessFieldArgs()
setupCreatedField()
This protected method is inherited from I2CE_Form->setupCreatedField()
setupLastModifiedField()
This protected method is inherited from I2CE_Form->setupLastModifiedField()
setupParentField()
This protected method is inherited from I2CE_Form->setupParentField()
__get()
This public method is inherited from I2CE_FieldContainer->__get()
__isset()
This public method is inherited from I2CE_FieldContainer->__isset()
__set()
This public method is inherited from I2CE_FieldContainer->__set()
__unset()
This public method is inherited from I2CE_FieldContainer->__unset()
addField()
This public method is inherited from I2CE_FieldContainer->addField()
clearFields()
This public method is inherited from I2CE_FieldContainer->clearFields()
current()
This public method is inherited from I2CE_FieldContainer->current()
getAttribute()
This public method is inherited from I2CE_FieldContainer->getAttribute()
getContainerIndex()
This public method is inherited from I2CE_FieldContainer->getContainerIndex()
getContainerType()
This public method is inherited from I2CE_FieldContainer->getContainerType()
getFieldNames()
This public method is inherited from I2CE_FieldContainer->getFieldNames()
getHTMLName()
This public method is inherited from I2CE_FieldContainer->getHTMLName()
getId()
This public method is inherited from I2CE_FieldContainer->getId()
getLoad()
This public method is inherited from I2CE_FieldContainer->getLoad()
getMeta()
This public method is inherited from I2CE_FieldContainer->getMeta()
getName()
This public method is inherited from I2CE_FieldContainer->getName()
getNameId()
This public method is inherited from I2CE_FieldContainer->getNameId()
getQueryDisplay()
This public method is inherited from I2CE_FieldContainer->getQueryDisplay()
getQueryFields()
This public method is inherited from I2CE_FieldContainer->getQueryFields()
getQueryString()
This public method is inherited from I2CE_FieldContainer->getQueryString()
hasAttribute()
This public method is inherited from I2CE_FieldContainer->hasAttribute()
hasField()
This public method is inherited from I2CE_FieldContainer->hasField()
hasMeta()
This public method is inherited from I2CE_FieldContainer->hasMeta()
isValid()
This public method is inherited from I2CE_FieldContainer->isValid()
key()
This public method is inherited from I2CE_FieldContainer->key()
load()
This public method is inherited from I2CE_FieldContainer->load()
next()
This public method is inherited from I2CE_FieldContainer->next()
removeField()
This public method is inherited from I2CE_FieldContainer->removeField()
rewind()
This public method is inherited from I2CE_FieldContainer->rewind()
setAttribute()
This public method is inherited from I2CE_FieldContainer->setAttribute()
setId()
This public method is inherited from I2CE_FieldContainer->setId()
setInvalidMessage()
This public method is inherited from I2CE_FieldContainer->setInvalidMessage()
setMeta()
This public method is inherited from I2CE_FieldContainer->setMeta()
setName()
This public method is inherited from I2CE_FieldContainer->setName()
valid()
This public method is inherited from I2CE_FieldContainer->valid()
validate()
This public method is inherited from I2CE_FieldContainer->validate()
addFields()
This protected method is inherited from I2CE_FieldContainer->addFields()
getAttributes()
This protected method is inherited from I2CE_FieldContainer->getAttributes()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$children
Theis public variable is inherited from I2CE_Form->$children
$parent_forms
Theis protected variable is inherited from I2CE_Form->$parent_forms
$parentField
Theis protected variable is inherited from I2CE_Form->$parentField
$lastModifiedField
Theis protected variable is inherited from I2CE_Form->$lastModifiedField
$createdField
Theis protected variable is inherited from I2CE_Form->$createdField
$name
Theis protected variable is inherited from I2CE_FieldContainer->$name
$display_name
Theis protected variable is inherited from I2CE_FieldContainer->$display_name
$fields
Theis protected variable is inherited from I2CE_FieldContainer->$fields
$attributes
Theis protected variable is inherited from I2CE_FieldContainer->$attributes
$id
Theis protected variable is inherited from I2CE_FieldContainer->$id
$factory
Theis protected variable is inherited from I2CE_FieldContainer->$factory
Inherited Fuzzy Methods
isNumeric()
This method is inherited from I2CE_Form->isNumeric()
getLimitStyles()
This method is inherited from I2CE_Form->getLimitStyles()
checkLimit()
This method is inherited from I2CE_Form->checkLimit()
checkWhereClause()
This method is inherited from I2CE_Form->checkWhereClause()
createCheckFunction()
This method is inherited from I2CE_Form->createCheckFunction()
createCheckLimitString()
This method is inherited from I2CE_Form->createCheckLimitString()
generateLimit()
This method is inherited from I2CE_Form->generateLimit()
generateWhereClause()
This method is inherited from I2CE_Form->generateWhereClause()
isComponentized()
This method is inherited from I2CE_Form->isComponentized()
addChild()
This method is inherited from I2CE_Form->addChild()
getChildIds()
This method is inherited from I2CE_Form->getChildIds()
getStorage()
This method is inherited from I2CE_Form->getStorage()
isWritable()
This method is inherited from I2CE_Form->isWritable()
populate()
This method is inherited from I2CE_Form->populate()
duplicate()
This method is inherited from I2CE_Form->duplicate()
storeHistory()
This method is inherited from I2CE_Form->storeHistory()
populateChild()
This method is inherited from I2CE_Form->populateChild()
populateChildren()
This method is inherited from I2CE_Form->populateChildren()
populateFirst()
This method is inherited from I2CE_Form->populateFirst()
populateHistory()
This method is inherited from I2CE_Form->populateHistory()
populateLast()
This method is inherited from I2CE_Form->populateLast()
delete()
This method is inherited from I2CE_Form->delete()
save()
This method is inherited from I2CE_Form->save()
setChangeType()
This method is inherited from I2CE_Form->setChangeType()
changeID()
This method is inherited from I2CE_Form->changeID()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()