The CachingIterator classCachingIterator
&reftitle.intro;
This object supports cached iteration over another iterator.
&reftitle.classsynopsis;
CachingIteratorCachingIteratorextendsIteratorIteratorOuterIteratorArrayAccessCountable&Constants;constintCachingIterator::CALL_TOSTRING1constintCachingIterator::CATCH_GET_CHILD16constintCachingIterator::TOSTRING_USE_KEY2constintCachingIterator::TOSTRING_USE_CURRENT4constintCachingIterator::TOSTRING_USE_INNER8constintCachingIterator::FULL_CACHE256&Methods;
&reftitle.constants;
CachingIterator::CALL_TOSTRINGConvert every element to string.CachingIterator::CATCH_GET_CHILDDon't throw exception in accessing children.CachingIterator::TOSTRING_USE_KEY
Use key for conversion to
string.
CachingIterator::TOSTRING_USE_CURRENT
Use current for
conversion to string.CachingIterator::TOSTRING_USE_INNER
Use inner
for conversion to string.
CachingIterator::FULL_CACHECache all read data.
&reference.spl.entities.cachingiterator;