- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/lib/test/typography/bookauthortable.php
- Класс: BitrixMainTestTypographyBookAuthorTable
- Вызов: BookAuthorTable::getMap
static function getMap()
{
return [
(new IntegerField('BOOK_ID'))
->configurePrimary(true),
(new Reference('BOOK', BookTable::class,
Join::on('this.BOOK_ID', 'ref.ID')))
->configureJoinType('inner'),
(new IntegerField('AUTHOR_ID'))
->configurePrimary(true),
(new Reference('AUTHOR', AuthorTable::class,
Join::on('this.AUTHOR_ID', 'ref.ID')))
->configureJoinType('inner'),
];
}