• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/authentication/internal/modulegrouptable.php
  • Класс: BitrixMainAuthenticationInternalModuleGroupTable
  • Вызов: ModuleGroupTable::getMap
static function getMap()
{
	return [
		(new FieldsIntegerField('ID'))
			->configurePrimary()
			->configureAutocomplete(),

		(new FieldsStringField('MODULE_ID')),

		(new FieldsIntegerField('GROUP_ID')),

		(new FieldsStringField('G_ACCESS')),

		(new FieldsStringField('SITE_ID')),

		(new FieldsRelationsReference(
			'GROUP',
			MainGroupTable::class,
			Join::on('this.GROUP_ID', 'ref.ID')
		))->configureJoinType(Join::TYPE_INNER),
	];
}