AgentIterator provides access to these objects sequentially, one at a time.
The purpose of all Iterators is to to offer a way for OSID methods to return multiple values of a common type and not use an array. Returning an array may not be appropriate if the number of values returned is large or is fetched remotely. Iterators do not allow access to values by index, rather you must access values in sequence. Similarly, there is no way to go backwards through the sequence unless you place the values in a data structure, such as an array, that allows for access by index.
<p> OSID Version: 2.0 </p>
Located in /harmoni/core/oki2/agent/GroupsOnlyFromTraversalIterator.class.php (line 26)
SObject | --HarmoniIterator | --HarmoniAgentIterator | --AgentFilteringFromTraversalIterator | --GroupsOnlyFromTraversalIterator
Inherited from AgentFilteringFromTraversalIterator
AgentFilteringFromTraversalIterator::$_count
AgentFilteringFromTraversalIterator::$_nextAgent
AgentFilteringFromTraversalIterator::$_traversalInfoIterator
Inherited from HarmoniIterator
HarmoniIterator::$_elements
HarmoniIterator::$_i
create a new Agent of the appropriate class and return it.
Return True if we should select the Agent with the given id, FALSE if we are filtering it.
Inherited From AgentFilteringFromTraversalIterator
AgentFilteringFromTraversalIterator::AgentFilteringFromTraversalIterator()
AgentFilteringFromTraversalIterator::count()
AgentFilteringFromTraversalIterator::hasNext()
AgentFilteringFromTraversalIterator::next()
AgentFilteringFromTraversalIterator::_getAgent()
AgentFilteringFromTraversalIterator::_selectNextAgent()
AgentFilteringFromTraversalIterator::_shouldSelect()
Inherited From HarmoniAgentIterator
HarmoniAgentIterator::hasNextAgent()
HarmoniAgentIterator::nextAgent()
Inherited From HarmoniIterator
HarmoniIterator::HarmoniIterator()
HarmoniIterator::add()
HarmoniIterator::count()
HarmoniIterator::hasNext()
HarmoniIterator::next()
HarmoniIterator::skipNext()
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:23:27 -0400 by phpDocumentor 1.3.0RC3