Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
modulegrouptable.php
1<?php
2
11
12use Bitrix\Main;
16
34{
35 public static function getTableName()
36 {
37 return 'b_module_group';
38 }
39
40 public static function getMap()
41 {
42 return [
43 (new Fields\IntegerField('ID'))
44 ->configurePrimary()
45 ->configureAutocomplete(),
46
47 (new Fields\StringField('MODULE_ID')),
48
49 (new Fields\IntegerField('GROUP_ID')),
50
51 (new Fields\StringField('G_ACCESS')),
52
53 (new Fields\StringField('SITE_ID')),
54
55 (new Fields\Relations\Reference(
56 'GROUP',
57 Main\GroupTable::class,
58 Join::on('this.GROUP_ID', 'ref.ID')
59 ))->configureJoinType(Join::TYPE_INNER),
60 ];
61 }
62}