См. определение в файле archive.php строка 17
◆ DetectTypeByFilename()
DetectTypeByFilename |
( |
| $filename | ) |
|
|
static |
Finds the type of the archive by its filename
- Аргументы
-
string | $filename | full path to the file |
- Возвращает
- false|string $type code of the type if it's supported (TAR.GZ, ZIP), false if archive type is not found for the file
См. определение в файле archive.php строка 59
◆ GetArchive()
GetArchive |
( |
| $strArcName, |
|
|
| $strType = "" ) |
|
static |
Creates an object of the archive
- Аргументы
-
string | $strArcName | full path to the archive file to be created |
string | $strType | one of the supported archive types (TAR.GZ, ZIP etc.) |
- Возвращает
- false | IBXArchive object of a specific class, false if type is not supported or path is incorrect
См. определение в файле archive.php строка 26
◆ GetArchiveExtensions()
Returns the array of file extensions which are considered as archives
- Возвращает
- array containing extensions in lower case
См. определение в файле archive.php строка 101
◆ GetAvailableFormats()
Contains information about archives supported by the system
- Возвращает
- array containing archive type code, classname, extensions, classpath for each type
См. определение в файле archive.php строка 79
◆ HasAccess()
HasAccess |
( |
| $strFilename, |
|
|
| $isFile ) |
|
static |
Checks if current user has access to the file or folder according to Bitrix permissions
- Аргументы
-
string | $strFilename | full path to the file |
boolean | $isFile | true if we check file permissions, false if folder permissions should be checked |
- Возвращает
- boolean
См. определение в файле archive.php строка 141
◆ IsArchive()
IsArchive |
( |
| $strFilename | ) |
|
|
static |
Checks if the file is archive of the suppoted type
- Аргументы
-
string | $strFilename | full path to the archive to be checked |
- Возвращает
- boolean
См. определение в файле archive.php строка 119
◆ IsFileSafe()
IsFileSafe |
( |
string | $filename | ) |
|
|
static |
Объявления и описания членов класса находятся в файле: