# ForumTable

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

Класс `\Bitrix\Forum\ForumTable`
Модуль: Forum.

## Описание

Поля:

ID int обязательное

FORUM_GROUP_ID int

NAME string(255) обязательное

DESCRIPTION text необязательное

SORT int обязательное по умолчанию '150'

ACTIVE bool обязательное по умолчанию 'Y'

ALLOW_HTML bool обязательное по умолчанию 'N'

ALLOW_ANCHOR bool обязательное по умолчанию 'Y'

ALLOW_BIU bool обязательное по умолчанию 'Y'

ALLOW_IMG bool обязательное по умолчанию 'Y'

ALLOW_VIDEO bool обязательное по умолчанию 'Y'

ALLOW_LIST bool обязательное по умолчанию 'Y'

ALLOW_QUOTE bool обязательное по умолчанию 'Y'

ALLOW_CODE bool обязательное по умолчанию 'Y'

ALLOW_FONT bool обязательное по умолчанию 'Y'

ALLOW_SMILES bool обязательное по умолчанию 'Y'

ALLOW_UPLOAD bool обязательное по умолчанию 'N'

ALLOW_TABLE bool обязательное по умолчанию 'N'

ALLOW_ALIGN bool обязательное по умолчанию 'Y'

ALLOW_UPLOAD_EXT string(255) null

ALLOW_MOVE_TOPIC bool обязательное по умолчанию 'Y'

ALLOW_TOPIC_TITLED bool обязательное по умолчанию 'N'

ALLOW_NL2BR bool обязательное по умолчанию 'N'

ALLOW_SIGNATURE bool обязательное по умолчанию 'Y'

ASK_GUEST_EMAIL bool обязательное по умолчанию 'N'

USE_CAPTCHA bool обязательное по умолчанию 'N'

INDEXATION bool обязательное по умолчанию 'Y'

DEDUPLICATION bool обязательное по умолчанию 'Y'

MODERATION bool обязательное по умолчанию 'N'

ORDER_BY enum('P', 'T', 'N', 'V', 'D', 'A', '') обязательное по умолчанию 'P'

ORDER_DIRECTION enum('DESC', 'ASC') обязательное по умолчанию 'DESC'

TOPICS int

POSTS int

LAST_POSTER_ID int

LAST_POSTER_NAME string(255)

LAST_POST_DATE datetime

LAST_MESSAGE_ID int

POSTS_UNAPPROVED int

ABS_LAST_POSTER_ID int

ABS_LAST_POSTER_NAME string(255)

ABS_LAST_POST_DATE datetime

ABS_LAST_MESSAGE_ID int

EVENT1 string(255) по умолчанию 'forum'

EVENT2 string(255) по умолчанию 'message'

EVENT3 string(255)

XML_ID varchar(255)

HTML text

Исходный файл: `source/forum/lib/forum.php:96`

## Методы (18)

- [`static clearCache()`](https://chugunov.pro/api-bitrix/forum/forumtable/clearcache/)
- [`static createCollection()`](https://chugunov.pro/api-bitrix/forum/forumtable/createcollection/)
- [`static createObject()`](https://chugunov.pro/api-bitrix/forum/forumtable/createobject/)
- [`static getById()`](https://chugunov.pro/api-bitrix/forum/forumtable/getbyid/)
- [`static getByPrimary()`](https://chugunov.pro/api-bitrix/forum/forumtable/getbyprimary/)
- [`static getEntity()`](https://chugunov.pro/api-bitrix/forum/forumtable/getentity/)
- [`static getList()`](https://chugunov.pro/api-bitrix/forum/forumtable/getlist/)
- [`static getMainData()`](https://chugunov.pro/api-bitrix/forum/forumtable/getmaindata/)
- [`static getMap()`](https://chugunov.pro/api-bitrix/forum/forumtable/getmap/) — Возвращает описание карты сущности.
- [`static getTableName()`](https://chugunov.pro/api-bitrix/forum/forumtable/gettablename/) — Возвращает имя таблицы БД для сущности
- [`static onAfterAdd()`](https://chugunov.pro/api-bitrix/forum/forumtable/onafteradd/)
- [`static onAfterDelete()`](https://chugunov.pro/api-bitrix/forum/forumtable/onafterdelete/)
- [`static onAfterUpdate()`](https://chugunov.pro/api-bitrix/forum/forumtable/onafterupdate/)
- [`static onBeforeUpdate()`](https://chugunov.pro/api-bitrix/forum/forumtable/onbeforeupdate/)
- [`static query()`](https://chugunov.pro/api-bitrix/forum/forumtable/query/)
- [`static updateSilently()`](https://chugunov.pro/api-bitrix/forum/forumtable/updatesilently/)
- [`static wakeUpCollection()`](https://chugunov.pro/api-bitrix/forum/forumtable/wakeupcollection/)
- [`static wakeUpObject()`](https://chugunov.pro/api-bitrix/forum/forumtable/wakeupobject/)

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