• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/test/typography/publishertable.php
  • Класс: BitrixMainTestTypographyPublisherTable
  • Вызов: PublisherTable::getMap
static function getMap()
{
	return [
		(new IntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete(),

		(new StringField('TITLE')),

		(new IntegerField('BOOKS_COUNT')),

		(new OneToMany('BOOKS', BookTable::class, 'PUBLISHER'))
			->configureJoinType('left')
	];
}