EventTable::getMap

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. EventTable
  4. getMap
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/eventtable.php
  • Класс: Bitrix\Crm\EventTable
  • Вызов: EventTable::getMap
static function getMap(): array
{
	return [
		(new IntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete(),
		new DatetimeField('DATE_CREATE'),
		new IntegerField('CREATED_BY_ID'),
		new StringField('EVENT_ID'),
		new StringField('EVENT_NAME'),
		new StringField('EVENT_TEXT_1'),
		new StringField('EVENT_TEXT_2'),
		new IntegerField('EVENT_TYPE'),
		// it's serialized int[]. serialization method - php. StringField instead of ArrayField for backwards compatibility
		new StringField('FILES'),
		(new OneToMany('EVENT_RELATION', EventRelationsTable::class, 'EVENT_BY')),
	];
}

Добавить комментарий