The OrderedSet provides an easy way to manage a group of Ids.
This set is not persistant. Please see the TempOrderedSet and the PersistentOrderedSet for persisting sets.
Located in /harmoni/core/sets/OrderedSet.class.php (line 28)
SObject | --OrderedSet
Class | Description |
---|---|
PersistentOrderedSet | The Set provides an implementation of the set interface that stores the sets of ids in a database. Note: Nothing should be implied in the order that the ids are returned. |
Basket | A Basket is a session-persistant ordered collection of Asset Ids. Items can be added and removed from it, as well as its contents viewed. |
Constructor.
Add a new Id to the set.
Answer the id at the position specified, false if position is out of bounds.
Return the current position of the id in the set.
Initialize from a data-string
Return TRUE if the given Id is in the set
Move the specified id toward the end of the set.
Move the specifiedId to the beginning of the set
Move the specifiedId to the end of the set
Move the specified id to the specified position in the set.
Move the specified id toward the begining of the set.
Remove all Items from the set.
Remove an Id from the set.
Inherited From SObject
SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()
Documentation generated on Wed, 19 Sep 2007 10:25:23 -0400 by phpDocumentor 1.3.0RC3