SplFileInfo クラス
(PHP 5 >= 5.1.2, PHP 7)
導入
SplFileInfo クラスは、各ファイルの情報を取得するための上位レベルのオブジェクト指向インターフェイスです。
クラス概要
SplFileInfo
{
public SplFileInfo getFileInfo
([
string $class_name
] )
public SplFileInfo getPathInfo
([
string $class_name
] )
public bool isDir
(
void
)
public SplFileObject openFile
([
string $open_mode = "r"
[,
bool $use_include_path = false
[,
resource $context = NULL
]]] )
public void setFileClass
([
string $class_name = "SplFileObject"
] )
public void setInfoClass
([
string $class_name = "SplFileInfo"
] )
}
目次
There are no user contributed notes for this page.