|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct (string $path, ?string $siteId=null) | |
| wipe (?\Closure $filter=null) | |
| Открытые члены унаследованные от Directory | |
| __construct ($path, $siteId=null) | |
| isExists () | |
| delete () | |
| getChildren () | |
| createSubdirectory ($name) | |
| markWritable () | |
| Открытые члены унаследованные от DirectoryEntry | |
| create () | |
| isDirectory () | |
| isFile () | |
| isLink () | |
| Открытые члены унаследованные от FileSystemEntry | |
| isSystem () | |
| getName () | |
| getDirectoryName () | |
| getPath () | |
| getDirectory () | |
| getCreationTime () | |
| getLastAccessTime () | |
| getModificationTime () | |
| getPermissions () | |
| getPhysicalPath () | |
| rename ($newPath) | |
| Открытые члены унаследованные от IErrorable | |
| addError (Main\Error $error) | |
| addErrors (array $errors) | |
| hasErrors () | |
| Открытые члены унаследованные от Errorable | |
| getErrors () | |
| getErrorByCode ($code) | |
Открытые статические члены | |
| static | generateTemporalDirectory (string $prefix, int $timeToLive=3) |
| Открытые статические члены унаследованные от Directory | |
| static | createDirectory ($path) |
| static | deleteDirectory ($path) |
| static | isDirectoryExists ($path) |
Дополнительные унаследованные члены | |
| Защищенные статические члены унаследованные от FileSystemEntry | |
| static | getDocumentRoot ($siteId) |
| Защищенные данные унаследованные от FileSystemEntry | |
| $path | |
| $originalPath | |
| $pathPhysical | |
| $siteId | |
| bool | $exists = null |
См. определение в файле directory.php строка 9
| __construct | ( | string | $path, |
| ?string | $siteId = null ) |
Constructor.
| string | $path | Folder path. |
| string | null | $siteId | Site id. |
См. определение в файле directory.php строка 21
|
static |
Creates temporal directory.
| string | $prefix | Name prefix. |
| int | $timeToLive | Hours to keep files alive. |
См. определение в файле directory.php строка 34
| wipe | ( | ?\Closure | $filter = null | ) |
Wipes folder out of children.
| \Closure | null | $filter | Filter function. |
| Main |
IO\FileNotFoundException
| Main |
IO\InvalidPathException
См. определение в файле directory.php строка 258