Php/docs/class.recursivecachingiterator
(PHP 5 >= 5.1.0, PHP 7)
简介
...
类摘要
RecursiveCachingIterator extends CachingIterator implements Countable , ArrayAccess , OuterIterator , RecursiveIterator {
const
int
CachingIterator::CALL_TOSTRING
= 1
const
int
CachingIterator::CATCH_GET_CHILD
= 16
const
int
CachingIterator::TOSTRING_USE_KEY
= 2
const
int
CachingIterator::TOSTRING_USE_CURRENT
= 4
const
int
CachingIterator::TOSTRING_USE_INNER
= 8
const
int
CachingIterator::FULL_CACHE
= 256
/* 方法 */
public __construct
( Iterator $iterator
[, int $flags
= self::CALL_TOSTRING
] )
public getChildren ( ) : RecursiveCachingIterator
public hasChildren ( ) : bool
/* Inherits */
public CachingIterator::__construct
( Iterator $iterator
[, int $flags
= self::CALL_TOSTRING
] )
public CachingIterator::count ( ) : int
public CachingIterator::current ( ) : mixed
public CachingIterator::getCache ( ) : array
public CachingIterator::getFlags ( ) : int
public CachingIterator::getInnerIterator ( ) : Iterator
public CachingIterator::hasNext ( ) : void
public CachingIterator::key ( ) : scalar
public CachingIterator::next ( ) : void
public CachingIterator::offsetExists
( mixed $index
) : void
public CachingIterator::offsetGet
( string $index
) : void
public CachingIterator::offsetSet
( mixed $index
, mixed $newval
) : void
public CachingIterator::offsetUnset
( string $index
) : void
public CachingIterator::rewind ( ) : void
public CachingIterator::setFlags
( int $flags
) : void
public CachingIterator::__toString ( ) : void
public CachingIterator::valid ( ) : void
}
Table of Contents
- RecursiveCachingIterator::__construct — Construct
- RecursiveCachingIterator::getChildren — Return the inner iterator's children as a RecursiveCachingIterator
- RecursiveCachingIterator::hasChildren — Check whether the current element of the inner iterator has children
/* 继承的常量 */