PHP 8.0.0 Released!

Класс SplFileInfo

(PHP 5 >= 5.1.2, PHP 7)

Введение

Класс SplFileInfo предлагает высокоуровневый объектно-ориентированный интерфейс к информации для отдельного файла.

Обзор классов

SplFileInfo {
/* Методы */
public __construct ( string $file_name )
public getATime ( ) : int
public getBasename ([ string $suffix ] ) : string
public getCTime ( ) : int
public getExtension ( ) : string
public getFileInfo ([ string $class_name ] ) : SplFileInfo
public getFilename ( ) : string
public getGroup ( ) : int
public getInode ( ) : int
public getLinkTarget ( ) : string
public getMTime ( ) : int
public getOwner ( ) : int
public getPath ( ) : string
public getPathInfo ([ string $class_name ] ) : SplFileInfo
public getPathname ( ) : string
public getPerms ( ) : int
public getRealPath ( ) : string
public getSize ( ) : int
public getType ( ) : string
public isDir ( ) : bool
public isExecutable ( ) : bool
public isFile ( ) : bool
public isLink ( ) : bool
public isReadable ( ) : bool
public isWritable ( ) : bool
public openFile ([ string $open_mode = "r" [, bool $use_include_path = FALSE [, resource $context = NULL ]]] ) : SplFileObject
public setFileClass ([ string $class_name = "SplFileObject" ] ) : void
public setInfoClass ([ string $class_name = "SplFileInfo" ] ) : void
public __toString ( ) : string
}

Содержание

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top