RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
Itérateurs
PHP Manual
La classe
RecursiveCachingIterator
(PHP 5 >= 5.1.0, PHP 7)
Introduction
...
Synopsis de la classe
RecursiveCachingIterator
extends
CachingIterator
implements
Countable
,
ArrayAccess
,
OuterIterator
,
RecursiveIterator
{
/* Méthodes */
public
__construct
(
Iterator
$iterator
[,
string
$flags
= self::CALL_TOSTRING
] )
public
RecursiveCachingIterator
getChildren
(
void
)
public
bool
hasChildren
(
void
)
/* Méthodes héritées */
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
)
public
void
CachingIterator::hasNext
(
void
)
public
scalar
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
(
int
$flags
)
public
void
CachingIterator::__toString
(
void
)
public
void
CachingIterator::valid
(
void
)
}
Sommaire
RecursiveCachingIterator::__construct
— Constructeur
RecursiveCachingIterator::getChildren
— Retourne le fils de l'itérateur interne comme un CachingRecursiveIterator
RecursiveCachingIterator::hasChildren
— Vérifie si l'élément courant de l'itérateur interne a un fils
RecursiveArrayIterator::hasChildren
RecursiveCachingIterator::__construct
Itérateurs
PHP Manual