Itérateurs
PHP Manual

La classe DirectoryIterator

Introduction

La classe DirectoryIterator fournit une interface simple pour lire le contenu d'un système de fichiers.

Synopsis de la classe

DirectoryIterator
DirectoryIterator extends SplFileInfo implements Iterator , Traversable {
/* Méthodes */
__construct ( string $path )
DirectoryIterator current ( void )
int getATime ( void )
int getCTime ( void )
string getFilename ( void )
int getGroup ( void )
int getInode ( void )
int getMTime ( void )
int getOwner ( void )
string getPath ( void )
string getPathname ( void )
int getPerms ( void )
int getSize ( void )
string getType ( void )
bool isDir ( void )
bool isDot ( void )
bool isExecutable ( void )
bool isFile ( void )
bool isLink ( void )
bool isReadable ( void )
bool isWritable ( void )
string key ( void )
void next ( void )
void rewind ( void )
string valid ( void )
}

Sommaire


Itérateurs
PHP Manual