RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
Iterators
PHP Manual
The RecursiveDirectoryIterator class
Introduction
...
Class synopsis
RecursiveDirectoryIterator
RecursiveDirectoryIterator
extends
DirectoryIterator
implements
Traversable
,
Iterator
,
RecursiveIterator
{
/* Methods */
object
getChildren
(
void
)
bool
hasChildren
([
bool
$allow_links
] )
string
key
(
void
)
void
next
(
void
)
void
rewind
(
void
)
/* Inherits */
DirectoryIterator
DirectoryIterator::current
(
void
)
int
DirectoryIterator::getATime
(
void
)
int
DirectoryIterator::getCTime
(
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
)
string
DirectoryIterator::valid
(
void
)
}
Table of Contents
RecursiveDirectoryIterator::getChildren
— Returns an iterator for the current entry if it is a directory
RecursiveDirectoryIterator::hasChildren
— Returns whether current entry is a directory and not '.' or '..'
RecursiveDirectoryIterator::key
— Return path and filename of current dir entry
RecursiveDirectoryIterator::next
— Move to next entry
RecursiveDirectoryIterator::rewind
— Rewind dir back to the start
RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
Iterators
PHP Manual