Inheritance diagram for SplFileInfo:

Public Member Functions | |
| __construct ($file_name) | |
| __toString () | |
| getATime () | |
| getCTime () | |
| getFileInfo (string class_name=NULL) | |
| getFilename () | |
| getGroup () | |
| getInode () | |
| getLinkTarget () | |
| getMTime () | |
| getOwner () | |
| getPath () | |
| getPathInfo (string class_name=NULL) | |
| getPathname () | |
| getPerms () | |
| getRealPath () | |
| getSize () | |
| getType () | |
| isDir () | |
| isExecutable () | |
| isFile () | |
| isLink () | |
| isReadable () | |
| isWritable () | |
| openFile ($mode= 'r', $use_include_path=false, $context=NULL) | |
| setFileClass (string class_name="SplFileObject") | |
| setInfoClass (string class_name="SplFileInfo") | |
Definition at line 842 of file spl.php.
| SplFileInfo::__construct | ( | $ | file_name | ) |
Construct a file info object.
| $file_name | path or file name |
Reimplemented in DirectoryIterator.
Definition at line 848 of file spl.php.
| SplFileInfo::__toString | ( | ) |
Reimplemented in DirectoryIterator, and SplFileObject.
Definition at line 944 of file spl.php.
| SplFileInfo::getATime | ( | ) |
| SplFileInfo::getCTime | ( | ) |
| SplFileInfo::getFileInfo | ( | string | class_name = NULL |
) |
| class_name | name of class to instantiate |
Definition at line 862 of file spl.php.
| SplFileInfo::getFilename | ( | ) |
| SplFileInfo::getGroup | ( | ) |
| SplFileInfo::getInode | ( | ) |
| SplFileInfo::getLinkTarget | ( | ) |
| SplFileInfo::getMTime | ( | ) |
| SplFileInfo::getOwner | ( | ) |
| SplFileInfo::getPath | ( | ) |
| SplFileInfo::getPathInfo | ( | string | class_name = NULL |
) |
| class_name | name of class to instantiate |
Definition at line 872 of file spl.php.
| SplFileInfo::getPathname | ( | ) |
| SplFileInfo::getPerms | ( | ) |
| SplFileInfo::getRealPath | ( | ) |
| SplFileInfo::getSize | ( | ) |
| SplFileInfo::getType | ( | ) |
| SplFileInfo::isDir | ( | ) |
| SplFileInfo::isExecutable | ( | ) |
| SplFileInfo::isFile | ( | ) |
| SplFileInfo::isLink | ( | ) |
Reimplemented in DirectoryIterator.
Definition at line 932 of file spl.php.
| SplFileInfo::isReadable | ( | ) |
| SplFileInfo::isWritable | ( | ) |
| SplFileInfo::openFile | ( | $ | mode = 'r', |
|
| $ | use_include_path = false, |
|||
| $ | context = NULL | |||
| ) |
Open the current file as a SplFileObject instance.
| mode | open mode | |
| use_include_path | whether to search include paths (don't use) | |
| context | resource context to pased to open function |
| RuntimeException | if file cannot be opened (e.g. insufficient access rights). |
file()
Definition at line 959 of file spl.php.
| SplFileInfo::setFileClass | ( | string | class_name = "SplFileObject" |
) |
| class_name | name of class used with openFile(). |
Must be derived from SPLFileObject.
Definition at line 964 of file spl.php.
| SplFileInfo::setInfoClass | ( | string | class_name = "SplFileInfo" |
) |
| class_name | name of class used with getFileInfo(), getPathInfo(). |
Must be derived from SplFileInfo.
Definition at line 969 of file spl.php.
1.5.2