• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/internals/locationtable.php
  • Класс: BitrixCalendarInternalsLocationTable
  • Вызов: LocationTable::getMap
static function getMap()
{
	return [
		(new IntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete()
		,
		(new IntegerField('SECTION_ID'))
			->configureRequired()
		,
		(new BooleanField('NECESSITY'))
			->configureStorageValues('N', 'Y')
			->configureDefaultValue('N')
		,
		(new IntegerField('CAPACITY'))
			->configureDefaultValue(0)
		,
		(new IntegerField('CATEGORY_ID'))
			->configureDefaultValue(null)
		,
	];
}