RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
Itérateurs
PHP Manual

# La classe RecursiveDirectoryIterator

## Introduction

...

## Synopsis de la classe

RecursiveDirectoryIterator
RecursiveDirectoryIterator extends DirectoryIterator implements Traversable , Iterator , RecursiveIterator {
/* Méthodes */
object getChildren ( void )
bool hasChildren ([ bool `$allow_links` ] )
string key ( void )
void next ( void )
void rewind ( void )
/* Méthodes héritées */
public DirectoryIterator DirectoryIterator::current ( void )
public int DirectoryIterator::getATime ( void )
public string DirectoryIterator::getBasename ([ string `$suffix` ] )
public int DirectoryIterator::getCTime ( void )
public string DirectoryIterator::getFilename ( void )
public int DirectoryIterator::getGroup ( void )
public int DirectoryIterator::getInode ( void )
public int DirectoryIterator::getMTime ( void )
public int DirectoryIterator::getOwner ( void )
public string DirectoryIterator::getPath ( void )
public string DirectoryIterator::getPathname ( void )
public int DirectoryIterator::getPerms ( void )
public int DirectoryIterator::getSize ( void )
public string DirectoryIterator::getType ( void )
public bool DirectoryIterator::isDir ( void )
public bool DirectoryIterator::isDot ( void )
public bool DirectoryIterator::isExecutable ( void )
public bool DirectoryIterator::isFile ( void )
public bool DirectoryIterator::isLink ( void )
public bool DirectoryIterator::isReadable ( void )
public bool DirectoryIterator::isWritable ( void )
public string DirectoryIterator::key ( void )
public void DirectoryIterator::next ( void )
public void DirectoryIterator::rewind ( void )
public void DirectoryIterator::seek ( int `$position` )
public string DirectoryIterator::__toString ( void )
public bool DirectoryIterator::valid ( void )
}

## Sommaire

- RecursiveDirectoryIterator::getChildren — Retourne un itérateur pour l'entrée courante si c'est un dossier
- RecursiveDirectoryIterator::hasChildren — Vérifie si l'entrée courante est un dossier et n'est pas '.' ou '..'
- RecursiveDirectoryIterator::key — Retourne le chemin et le nom de l'entrée courante du dossier
- RecursiveDirectoryIterator::next — Se déplace vers la prochaine entrée
- RecursiveDirectoryIterator::rewind — Revient à la position initiale dans le dossier

RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
Itérateurs
PHP Manual