RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
迭代器
在线手册:
中文
英文
PHP手册
The RecursiveCachingIterator class
(PHP 5 >= 5.1.0)
简介
...
类摘要
RecursiveCachingIterator
extends
CachingIterator
implements
Countable
,
ArrayAccess
,
Iterator
,
Traversable
,
OuterIterator
,
RecursiveIterator
{
/* 方法 */
__construct
(
Iterator
$iterator
[,
string
$flags
= self::CALL_TOSTRING
] )
RecursiveCachingIterator
getChildren
(
void
)
bool
hasChildren
(
void
)
/* Inherits */
public
CachingIterator::__construct
(
Iterator
$iterator
[,
string
$flags
= self::CALL_TOSTRING
] )
public
int
CachingIterator::count
(
void
)
public
void
CachingIterator::current
(
void
)
public
void
CachingIterator::getCache
(
void
)
public
void
CachingIterator::getFlags
(
void
)
public
void
CachingIterator::getInnerIterator
(
void
)
public
void
CachingIterator::hasNext
(
void
)
public
void
CachingIterator::key
(
void
)
public
void
CachingIterator::next
(
void
)
public
void
CachingIterator::offsetExists
(
string
$index
)
public
void
CachingIterator::offsetGet
(
string
$index
)
public
void
CachingIterator::offsetSet
(
string
$index
,
string
$newval
)
public
void
CachingIterator::offsetUnset
(
string
$index
)
public
void
CachingIterator::rewind
(
void
)
public
void
CachingIterator::setFlags
(
bitmask
$flags
)
public
void
CachingIterator::__toString
(
void
)
public
void
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
RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
迭代器
在线手册:
中文
英文
PHP手册