ArchiveEntry
\Bitrix\Main\Engine\Response\Zip\ArchiveEntry object describes element of zip-archive.
Methods
Method | Description | Available from version |
---|---|---|
createFromFileId( $fileId, $moduleId = null ) | Creates ArchiveEntry object, by using $fileId. $fileId value is used for searching entry in table b_file by ID. Параметры:
| |
createFromFilePath( $filePath, $name = null ) | Creates ArchiveEntry object by using path to file. Parameters:
| |
getName( ) | Getting file name. | |
setName( $name ) | Sets file name. | |
getPath( ) | Getting absolute path to file. | |
getSize( ) | Getting file size in bytes. |
© «Bitrix24», 2001-2024