RecursiveCallbackFilterIterator::hasChildren
RecursiveDirectoryIterator::__construct
Iterators
PHP Manual
A classe RecursiveDirectoryIterator
Introdução
...
Sinopse da classe
RecursiveDirectoryIterator
extends
DirectoryIterator
implements
Traversable
,
Iterator
,
RecursiveIterator
{
/* Métodos */
public
__construct
(
string
$path
[,
int
$flags
= FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO
] )
object
getChildren
(
void
)
public
string
getSubPath
(
void
)
public
string
getSubPathname
(
void
)
bool
hasChildren
([
bool
$allow_links
] )
string
key
(
void
)
void
next
(
void
)
void
rewind
(
void
)
/* Herança */
DirectoryIterator
DirectoryIterator::current
(
void
)
int
DirectoryIterator::getATime
(
void
)
public
string
DirectoryIterator::getBasename
([
string
$sufixo
] )
int
DirectoryIterator::getCTime
(
void
)
public
string
DirectoryIterator::getExtension
(
void
)
string
DirectoryIterator::getFilename
(
void
)
int
DirectoryIterator::getGroup
(
void
)
int
DirectoryIterator::getInode
(
void
)
int
DirectoryIterator::getMTime
(
void
)
int
DirectoryIterator::getOwner
(
void
)
string
DirectoryIterator::getPath
(
void
)
string
DirectoryIterator::getPathname
(
void
)
int
DirectoryIterator::getPerms
(
void
)
int
DirectoryIterator::getSize
(
void
)
string
DirectoryIterator::getType
(
void
)
bool
DirectoryIterator::isDir
(
void
)
bool
DirectoryIterator::isDot
(
void
)
bool
DirectoryIterator::isExecutable
(
void
)
bool
DirectoryIterator::isFile
(
void
)
bool
DirectoryIterator::isLink
(
void
)
bool
DirectoryIterator::isReadable
(
void
)
bool
DirectoryIterator::isWritable
(
void
)
string
DirectoryIterator::key
(
void
)
void
DirectoryIterator::next
(
void
)
void
DirectoryIterator::rewind
(
void
)
public
void
DirectoryIterator::seek
(
int
$posicao
)
public
string
DirectoryIterator::__toString
(
void
)
string
DirectoryIterator::valid
(
void
)
}
Índice
RecursiveDirectoryIterator::__construct
— Constructs a RecursiveDirectoryIterator
RecursiveDirectoryIterator::getChildren
— Retorna um iterador para o elemento atual se ele for um diretório
RecursiveDirectoryIterator::getSubPath
— Get sub path
RecursiveDirectoryIterator::getSubPathname
— Get sub path and name
RecursiveDirectoryIterator::hasChildren
— Retorna se o elemento atual é ou não um diretório que não seja '.' nem '..'
RecursiveDirectoryIterator::key
— Retorna o caminho e o nome do arquivo do elemento atual do diretório
RecursiveDirectoryIterator::next
— Avança para o próximo elemento
RecursiveDirectoryIterator::rewind
— Recomeça a iteração do diretório
RecursiveCallbackFilterIterator::hasChildren
RecursiveDirectoryIterator::__construct
Iterators
PHP Manual