RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
Iterators
PHP Manual
The RecursiveDirectoryIterator class
소개
...
클래스 개요
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 */
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
)
}
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