# TemplateTable

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

Класс `\Bitrix\Sender\TemplateTable`
Модуль: Sender.

## Описание

НИЧЕГО НЕ ПИШИТЕ НИЖЕ ЭТОЙ СТРОКИ

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

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

- `EVENT_ON_ADD`
- `EVENT_ON_AFTER_ADD`
- `EVENT_ON_AFTER_DELETE`
- `EVENT_ON_AFTER_UPDATE`
- `EVENT_ON_BEFORE_ADD`
- `EVENT_ON_BEFORE_DELETE`
- `EVENT_ON_BEFORE_UPDATE`
- `EVENT_ON_DELETE`
- `EVENT_ON_UPDATE`
- `LOCAL_DIR_IMG`
- `PER_PAGE_LIMIT`

## Методы (54)

- [`static add()`](https://chugunov.pro/api-bitrix/sender/templatetable/add/) — Добавляет строку в таблицу сущности
- [`static addMulti()`](https://chugunov.pro/api-bitrix/sender/templatetable/addmulti/) — Добавляет несколько строк в таблицу сущности.
- [`static checkFields()`](https://chugunov.pro/api-bitrix/sender/templatetable/checkfields/) — Проверяет поля данных перед сохранением в БД. Результат хранится в объекте $result
- [`static cleanCache()`](https://chugunov.pro/api-bitrix/sender/templatetable/cleancache/) — Очищает кеш таблета после модификаций данных.
- [`static createCollection()`](https://chugunov.pro/api-bitrix/sender/templatetable/createcollection/)
- [`static createObject()`](https://chugunov.pro/api-bitrix/sender/templatetable/createobject/)
- [`static cryptoEnabled()`](https://chugunov.pro/api-bitrix/sender/templatetable/cryptoenabled/) — Возвращает true, если для поля включено шифрование.
- [`static delete()`](https://chugunov.pro/api-bitrix/sender/templatetable/delete/) — Удаляет строку в таблице сущности по первичному ключу
- [`static enableCrypto()`](https://chugunov.pro/api-bitrix/sender/templatetable/enablecrypto/) — Устанавливает флаг, указывающий на поддержку шифрования для поля.
- [`static getById()`](https://chugunov.pro/api-bitrix/sender/templatetable/getbyid/) — Возвращает выборку по первичному ключу сущности
- [`static getByPrimary()`](https://chugunov.pro/api-bitrix/sender/templatetable/getbyprimary/) — Возвращает выборку по первичному ключу сущности и необязательным параметрам для getList()
- [`static getCollectionClass()`](https://chugunov.pro/api-bitrix/sender/templatetable/getcollectionclass/) — Возвращает класс коллекции объектов для текущей сущности.
- [`static getCollectionClassName()`](https://chugunov.pro/api-bitrix/sender/templatetable/getcollectionclassname/) — Возвращает имя класса (без пространства имён) коллекции объектов для текущей сущности.
- [`static getCollectionParentClass()`](https://chugunov.pro/api-bitrix/sender/templatetable/getcollectionparentclass/)
- [`static getConnectionName()`](https://chugunov.pro/api-bitrix/sender/templatetable/getconnectionname/) — Возвращает имя соединения для сущности
- [`static getCount()`](https://chugunov.pro/api-bitrix/sender/templatetable/getcount/) — Выполняет запрос COUNT к сущности и возвращает результат.
- [`static getEntity()`](https://chugunov.pro/api-bitrix/sender/templatetable/getentity/) — Возвращает объект сущности
- [`static getEntityClass()`](https://chugunov.pro/api-bitrix/sender/templatetable/getentityclass/)
- [`static getList()`](https://chugunov.pro/api-bitrix/sender/templatetable/getlist/) — Выполняет запрос и возвращает выборку по параметрам запроса. Эта функция является псевдонимом для функций объекта Query
- [`static getMap()`](https://chugunov.pro/api-bitrix/sender/templatetable/getmap/) — Возвращает карту (map)
- [`static getObjectClass()`](https://chugunov.pro/api-bitrix/sender/templatetable/getobjectclass/) — Возвращает класс объекта для текущей сущности.
- [`static getObjectClassName()`](https://chugunov.pro/api-bitrix/sender/templatetable/getobjectclassname/) — Возвращает имя класса (без пространства имён) объекта для текущей сущности.
- [`static getObjectParentClass()`](https://chugunov.pro/api-bitrix/sender/templatetable/getobjectparentclass/)
- [`static getQueryClass()`](https://chugunov.pro/api-bitrix/sender/templatetable/getqueryclass/)
- [`static getRow()`](https://chugunov.pro/api-bitrix/sender/templatetable/getrow/) — Возвращает одну строку (или null) по параметрам для getList()
- [`static getRowById()`](https://chugunov.pro/api-bitrix/sender/templatetable/getrowbyid/) — Возвращает одну строку (или null) по первичному ключу сущности
- [`static getTableName()`](https://chugunov.pro/api-bitrix/sender/templatetable/gettablename/) — Получает имя таблицы
- [`static getTitle()`](https://chugunov.pro/api-bitrix/sender/templatetable/gettitle/)
- [`static getUfId()`](https://chugunov.pro/api-bitrix/sender/templatetable/getufid/)
- [`static incUseCount()`](https://chugunov.pro/api-bitrix/sender/templatetable/incusecount/) — Увеличивает счётчик использования.
- [`static initEditor()`](https://chugunov.pro/api-bitrix/sender/templatetable/initeditor/) — Инициализирует редактор
- [`static isCacheable()`](https://chugunov.pro/api-bitrix/sender/templatetable/iscacheable/) — Вы можете полностью отключить кеш для таблета.
- [`static isContentForBlockEditor()`](https://chugunov.pro/api-bitrix/sender/templatetable/iscontentforblockeditor/) — Функция возвращает true, если html в $content поддерживается Блочным редактором
- [`static isUtm()`](https://chugunov.pro/api-bitrix/sender/templatetable/isutm/)
- [`static isUts()`](https://chugunov.pro/api-bitrix/sender/templatetable/isuts/)
- [`static onAdd()`](https://chugunov.pro/api-bitrix/sender/templatetable/onadd/)
- [`static onAfterAdd()`](https://chugunov.pro/api-bitrix/sender/templatetable/onafteradd/)
- [`static onAfterDelete()`](https://chugunov.pro/api-bitrix/sender/templatetable/onafterdelete/)
- [`static onAfterUpdate()`](https://chugunov.pro/api-bitrix/sender/templatetable/onafterupdate/)
- [`static onBeforeAdd()`](https://chugunov.pro/api-bitrix/sender/templatetable/onbeforeadd/)
- [`static onBeforeDelete()`](https://chugunov.pro/api-bitrix/sender/templatetable/onbeforedelete/) — Обработчик события перед удалением.
- [`static onBeforeUpdate()`](https://chugunov.pro/api-bitrix/sender/templatetable/onbeforeupdate/) — Обработчик события перед удалением.
- [`static onDelete()`](https://chugunov.pro/api-bitrix/sender/templatetable/ondelete/)
- [`static onPresetTemplateList()`](https://chugunov.pro/api-bitrix/sender/templatetable/onpresettemplatelist/) — Обработчик события, возвращающий массив шаблонов
- [`static onUpdate()`](https://chugunov.pro/api-bitrix/sender/templatetable/onupdate/)
- [`static postInitialize()`](https://chugunov.pro/api-bitrix/sender/templatetable/postinitialize/)
- [`static query()`](https://chugunov.pro/api-bitrix/sender/templatetable/query/) — Создаёт и возвращает объект Query для сущности
- [`static setCurrentDeletingObject()`](https://chugunov.pro/api-bitrix/sender/templatetable/setcurrentdeletingobject/)
- [`static setDefaultScope()`](https://chugunov.pro/api-bitrix/sender/templatetable/setdefaultscope/)
- [`static unsetEntity()`](https://chugunov.pro/api-bitrix/sender/templatetable/unsetentity/)
- [`static update()`](https://chugunov.pro/api-bitrix/sender/templatetable/update/) — Обновляет строку в таблице сущности по первичному ключу
- [`static updateMulti()`](https://chugunov.pro/api-bitrix/sender/templatetable/updatemulti/)
- [`static wakeUpCollection()`](https://chugunov.pro/api-bitrix/sender/templatetable/wakeupcollection/)
- [`static wakeUpObject()`](https://chugunov.pro/api-bitrix/sender/templatetable/wakeupobject/)

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