RecursiveFilterIterator::hasChildren
RecursiveIteratorIterator::beginChildren
Iterators
PHP Manual
A classe RecursiveIteratorIterator
Introdução
...
Sinopse da classe
RecursiveIteratorIterator
implements
OuterIterator
,
Traversable
,
Iterator
{
/* Métodos */
public
void
beginChildren
(
void
)
public
void
beginIteration
(
void
)
public
RecursiveIterator
callGetChildren
(
void
)
public
bool
callHasChildren
(
void
)
public
__construct
(
Traversable
$iterator
[,
int
$mode
= RecursiveIteratorIterator::LEAVES_ONLY
[,
int
$flags
= 0
]] )
mixed
current
(
void
)
public
void
endChildren
(
void
)
public
void
endIteration
(
void
)
int
getDepth
(
void
)
public
iterator
getInnerIterator
(
void
)
public
mixed
getMaxDepth
(
void
)
RecursiveIterator
getSubIterator
(
void
)
mixed
key
(
void
)
void
next
(
void
)
public
void
nextElement
(
void
)
void
rewind
(
void
)
public
void
setMaxDepth
([
string
$max_depth
= -1
] )
bolean
valid
(
void
)
}
Índice
RecursiveIteratorIterator::beginChildren
— Begin children
RecursiveIteratorIterator::beginIteration
— Begin Iteration
RecursiveIteratorIterator::callGetChildren
— Get children
RecursiveIteratorIterator::callHasChildren
— Has children
RecursiveIteratorIterator::__construct
— Construct a RecursiveIteratorIterator
RecursiveIteratorIterator::current
— Retorna o valor do elemento atual
RecursiveIteratorIterator::endChildren
— End children
RecursiveIteratorIterator::endIteration
— End Iteration
RecursiveIteratorIterator::getDepth
— Retorna a profundidade atual da iteração recursiva
RecursiveIteratorIterator::getInnerIterator
— Get inner iterator
RecursiveIteratorIterator::getMaxDepth
— Get max depth
RecursiveIteratorIterator::getSubIterator
— Retorna o sub-iterador ativo atual
RecursiveIteratorIterator::key
— Retorna a chave atual
RecursiveIteratorIterator::next
— Avança para o próximo elemento
RecursiveIteratorIterator::nextElement
— Next element
RecursiveIteratorIterator::rewind
— Recomeça o iterador no primeiro elemento do primeiro iterador interno
RecursiveIteratorIterator::setMaxDepth
— Set max depth
RecursiveIteratorIterator::valid
— Verifica se a posição atual é válida ou não
RecursiveFilterIterator::hasChildren
RecursiveIteratorIterator::beginChildren
Iterators
PHP Manual