# ZipDocument::getFileExtension()

URL: https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getfileextension/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\DocumentGenerator\Body\ZipDocument`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/)
Модуль: DocumentGenerator.
Свойства элемента: method, public, abstract.

## Сигнатура

```php
public abstract getFileExtension() : string
```

## Возвращаемое значение

`string`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-DocumentGenerator-Body-ZipDocument.html
