EventConnectionTable::getMap

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventConnectionTable
  4. getMap
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/internals/eventconnectiontable.php
  • Класс: BitrixCalendarInternalsEventConnectionTable
  • Вызов: EventConnectionTable::getMap
static function getMap()
{
	return [
		(new IntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete()
		,
		(new IntegerField('EVENT_ID'))
			->configureRequired()
		,
		(new IntegerField('CONNECTION_ID'))
			->configureRequired()
		,
		(new StringField('VENDOR_EVENT_ID'))
			->configureSize(255)
		,
		(new StringField('SYNC_STATUS'))
			->configureNullable()
			->configureSize(20)
		,
		(new IntegerField('RETRY_COUNT'))
			->configureDefaultValue(0)
		,
		(new StringField('ENTITY_TAG'))
			->configureNullable()
			->configureSize(255)
		,
		(new StringField('VENDOR_VERSION_ID'))
			->configureNullable()
			->configureSize(255)
		,
		(new StringField('VERSION'))
			->configureNullable()
			->configureSize(255)
		,
		(new ArrayField('DATA'))
			->configureNullable()
		,
		(new StringField('RECURRENCE_ID'))
			->configureNullable()
			->configureSize(255)
		,
		(new ReferenceField(
			'EVENT',
			EventTable::class,
			Join::on('this.EVENT_ID', 'ref.ID'),
		)),
		(new ReferenceField(
			'CONNECTION',
			DavConnectionTable::class,
			Join::on('this.CONNECTION_ID', 'ref.ID'),
		)),
	];
}

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