MultipleIterator::valid
Checks the validity of sub iterators
Description
public bool MultipleIterator::valid()
Checks the validity of the attached iterators. With
MultipleIterator::MIT_NEED_ALL, all of them must be
valid; with MultipleIterator::MIT_NEED_ANY, at least
one of them must be valid.
Parameters
This function has no parameters.
Return Values
Returns true if all attached iterators are valid
(MultipleIterator::MIT_NEED_ALL) or at least one is
valid (MultipleIterator::MIT_NEED_ANY), otherwise
false. If no iterator is attached, false is returned.
See Also
- MultipleIterator::__construct
- MultipleIterator::setFlags
- MultipleIterator::current