# Template

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

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

## Описание

int ID

Исходный файл: `source/documentgenerator/lib/template.php:37`

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

- `DOCUMENT_PROVIDER_PLACEHOLDER`
- `MAIN_PROVIDER_PLACEHOLDER`

## Свойства (1)

- `$$PRODUCTS_TABLE_VARIANT read-only`

## Методы (15)

- [`__get()`](https://chugunov.pro/api-bitrix/documentgenerator/template/__get/)
- [`getBody()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getbody/)
- [`getBodyClassName()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getbodyclassname/)
- [`getDataProviders()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getdataproviders/)
- [`getDownloadUrl()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getdownloadurl/)
- [`getFields()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getfields/)
- [`getFileName()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getfilename/)
- [`getModificationTime()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getmodificationtime/)
- [`getSourceType()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getsourcetype/)
- [`getUsers()`](https://chugunov.pro/api-bitrix/documentgenerator/template/getusers/)
- [`isDeleted()`](https://chugunov.pro/api-bitrix/documentgenerator/template/isdeleted/)
- [`isValidBodyContent()`](https://chugunov.pro/api-bitrix/documentgenerator/template/isvalidbodycontent/)
- [`static isValidProductsTableVariantValue()`](https://chugunov.pro/api-bitrix/documentgenerator/template/isvalidproductstablevariantvalue/)
- [`static loadById()`](https://chugunov.pro/api-bitrix/documentgenerator/template/loadbyid/)
- [`setSourceType()`](https://chugunov.pro/api-bitrix/documentgenerator/template/setsourcetype/)

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