RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
イテレータ
PHP Manual
RecursiveDirectoryIterator クラス
導入
...
クラス概要
RecursiveDirectoryIterator
RecursiveDirectoryIterator
extends
DirectoryIterator
implements
Traversable
,
Iterator
,
RecursiveIterator
{
/* メソッド */
object
getChildren
(
void
)
bool
hasChildren
([
bool
$allow_links
] )
string
key
(
void
)
void
next
(
void
)
void
rewind
(
void
)
/* 継承 */
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
)
}
目次
RecursiveDirectoryIterator::getChildren
— ディレクトリであれば、現在のエントリに対するイテレータを返す
RecursiveDirectoryIterator::hasChildren
— 現在のエントリがディレクトリかつ '.' もしくは '..' でないかどうかを返す
RecursiveDirectoryIterator::key
— 現在のディレクトリエントリのパスとファイル名を返す
RecursiveDirectoryIterator::next
— 次のエントリに移動する
RecursiveDirectoryIterator::rewind
— ディレクトリを最初に巻き戻す
RecursiveCachingIterator::hasChildren
RecursiveDirectoryIterator::getChildren
イテレータ
PHP Manual