PHP Dokumentation: Class cachingiterator
12. Januar 2010 von werner
The CachingIterator class
Einführung
This object supports cached iteration over another iterator.
Klassenbeschreibung
CachingIterator
CachingIterator extends IteratorIterator implements OuterIterator , Traversable , Iterator , ArrayAccess , Countable {
/* Constants */
/* Methods */
}
Vordefinierte Konstanten
CachingIterator Node Types
- CachingIterator::CALL_TOSTRING
Description here…
- CachingIterator::CATCH_GET_CHILD
Description here…
- CachingIterator::TOSTRING_USE_KEY
Description here…
- CachingIterator::TOSTRING_USE_CURRENT
Description here…
- CachingIterator::TOSTRING_USE_INNER
Description here…
- CachingIterator::FULL_CACHE
Cache all read data.
Inhaltsverzeichnis
- CachingIterator::__construct ? Construct a new CachingIterator object for the iterator.
- CachingIterator::count ? The number of elements in the iterator
- CachingIterator::current ? Return the current element
- CachingIterator::getCache ? The getCache purpose
- CachingIterator::getFlags ? Get flags used
- CachingIterator::getInnerIterator ? Return the innter iterator
- CachingIterator::hasNext ? Check whether the inner iterator has a valid next element
- CachingIterator::key ? Return the key for the current element
- CachingIterator::next ? Move the iterator forward
- CachingIterator::offsetExists ? The offsetExists purpose
- CachingIterator::offsetGet ? The offsetGet purpose
- CachingIterator::offsetSet ? The offsetSet purpose
- CachingIterator::offsetUnset ? The offsetUnset purpose
- CachingIterator::rewind ? Rewind the iterator
- CachingIterator::setFlags ? The setFlags purpose
- CachingIterator::__toString ? Return the string representation of the current element
- CachingIterator::valid ? Check whether the current element is valid