Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
reportconfiguration.php
1<?php
2
4
5use Bitrix\Main\Entity\IntegerField;
6use Bitrix\Main\Entity\ReferenceField;
7
26{
30 public static function getTableName()
31 {
32 return 'b_report_visual_report_entity_config';
33 }
34
38 public static function getMap()
39 {
40 return array(
41 new IntegerField('REPORT_ID', array(
42 'primary' => true
43 )),
44 new IntegerField('CONFIGURATION_ID', array(
45 'primary' => true
46 )),
47 new ReferenceField(
48 'REPORT',
49 'Bitrix\Report\VisualConstructor\Internal\ReportTable',
50 array('=this.REPORT_ID' => 'ref.ID')
51 ),
52 new ReferenceField(
53 'CONFIGURATION_SETTING',
54 'Bitrix\Report\VisualConstructor\Internal\ConfigurationSettingTable',
55 array('=this.CONFIGURATION_ID' => 'ref.ID')
56 ),
57 );
58 }
59}