См. определение в файле file.php строка 5
◆ __construct()
| __construct |
( |
| $path, |
|
|
| $siteId = null ) |
◆ close()
Closes the file.
- Исключения
-
Переопределяется в File.
См. определение в файле file.php строка 40
◆ delete()
◆ deleteFile()
◆ getContents()
◆ getContentType()
◆ getFileContents()
◆ getSize()
Returns the file size.
- Возвращает
- float|int
- Исключения
-
| FileNotFoundException | |
| FileOpenException | |
Переопределяет метод предка FileEntry.
См. определение в файле file.php строка 98
◆ isExists()
◆ isFileExists()
◆ isReadable()
◆ isWritable()
◆ markWritable()
◆ open()
Opens the file and returns the file pointer.
- Аргументы
-
- Возвращает
- resource
- Исключения
-
Замещает IFileStream.
См. определение в файле file.php строка 25
◆ putContents()
| putContents |
( |
| $data, |
|
|
| $flags = self::REWRITE ) |
◆ putFileContents()
| putFileContents |
( |
| $path, |
|
|
| $data, |
|
|
| $flags = self::REWRITE ) |
|
static |
◆ readFile()
◆ seek()
Seeks on the file pointer from the beginning (SEEK_SET only).
- Аргументы
-
- Возвращает
- int
- Исключения
-
См. определение в файле file.php строка 152
◆ $filePointer
◆ APPEND
◆ REWRITE
Объявления и описания членов класса находятся в файле: