RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
Iteradores
PHP Manual
A classe RecursiveCachingIterator
Introdução
...
Sinopse da classe
RecursiveCachingIterator
extends
CachingIterator
implements
Countable
,
ArrayAccess
,
Iterator
,
Traversable
,
OuterIterator
,
RecursiveIterator
{
/* Métodos */
public
__construct
(
Iterator
$iterator
[,
string
$flags
= self::CALL_TOSTRING
] )
RecursiveCachingIterator
getChildren
(
void
)
bolean
hasChildren
(
void
)
/* Herança */
public
CachingIterator::__construct
(
Iterator
$iterator
[,
int
$flags
= self::CALL_TOSTRING
] )
public
int
CachingIterator::count
(
void
)
public
void
CachingIterator::current
(
void
)
public
array
CachingIterator::getCache
(
void
)
public
int
CachingIterator::getFlags
(
void
)
public
Iterator
CachingIterator::getInnerIterator
(
void
)
bool
CachingIterator::hasNext
(
void
)
public
scalar
CachingIterator::key
(
void
)
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
)
void
CachingIterator::rewind
(
void
)
public
void
CachingIterator::setFlags
(
int
$flags
)
string
CachingIterator::__toString
(
void
)
bool
CachingIterator::valid
(
void
)
}
Índice
RecursiveCachingIterator::__construct
— Construct
RecursiveCachingIterator::getChildren
— Retorna os filhos do iterador interno como um RecursiveCachingIterator
RecursiveCachingIterator::hasChildren
— Verifica se o elemento atual do iterador interno possui filhos ou não
RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
Iteradores
PHP Manual