# ZipDocument

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

Класс `\Bitrix\DocumentGenerator\Body\ZipDocument`
Модуль: DocumentGenerator.

Исходный файл: `source/documentgenerator/lib/body/zipdocument.php:8`

## Константы (3)

- `ARRAY_INDEX_MODIFIER`
- `BLOCK_END_PLACEHOLDER`
- `BLOCK_START_PLACEHOLDER`

## Методы (20)

- [`__construct()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/__construct/) — Конструктор Body.
- [`__destruct()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/__destruct/)
- [`static detectHtml()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/detecthtml/)
- [`static getCodeFromPlaceholder()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getcodefromplaceholder/)
- [`getContent()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getcontent/)
- [`getFieldNames()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getfieldnames/)
- [`getFields()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getfields/)
- [`getFileExtension()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getfileextension/)
- [`getFileMimeType()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getfilemimetype/)
- [`getPlaceholders()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getplaceholders/)
- [`getStorage()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/getstorage/)
- [`isFileProcessable()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/isfileprocessable/)
- [`normalizeContent()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/normalizecontent/) — Нормализует содержимое body.
- [`process()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/process/) — Разобрать $content, обработать команды, заполнить значения.
- [`static readFromStorage()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/readfromstorage/)
- [`save()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/save/)
- [`setExcludedPlaceholders()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/setexcludedplaceholders/) — Установить список плейсхолдеров, которые не будут заполнены значениями.
- [`setFields()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/setfields/)
- [`setStorage()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/setstorage/)
- [`setValues()`](https://chugunov.pro/api-bitrix/documentgenerator/body/zipdocument/setvalues/)

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