Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
dashboardrow.php
1<?php
3use Bitrix\Main\Entity\DateField;
4use Bitrix\Main\Entity\IntegerField;
5use Bitrix\Main\Entity\ReferenceField;
6use Bitrix\Main\Entity\StringField;
7use Bitrix\Main\Entity\TextField;
8
26{
30 public static function getTableName()
31 {
32 return 'b_report_visual_report_dashboard_row';
33 }
34
38 public static function getMap()
39 {
40 return array(
41 new IntegerField('ID', array(
42 'primary' => true,
43 'autocomplete' => true,
44 )),
45 new StringField('GID'),
46 new IntegerField('WEIGHT'),
47 new IntegerField('BOARD_ID'),
48 new TextField('LAYOUT_MAP', array('default' => '')),
49 new DateField('CREATED_DATE'),
50 new DateField('UPDATED_DATE'),
51 new ReferenceField(
52 'DASHBOARD',
53 'Bitrix\Report\VisualConstructor\Internal\DashboardTable',
54 array('=this.BOARD_ID' => 'ref.ID')
55 ),
56 );
57 }
58}