Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
sharing.php
1<?php
3
6
7Loc::loadMessages(__FILE__);
8
25class SharingTable extends Entity\DataManager
26{
31 public static function getTableName()
32 {
33 return 'b_report_sharing';
34 }
35
40 public static function getMap()
41 {
42 $fieldsMap = array(
43 'ID' => array(
44 'data_type' => 'integer',
45 'primary' => true
46 ),
47 'REPORT_ID' => array(
48 'data_type' => 'integer',
49 'required' => true
50 ),
51 'LINK_REPORT' => array(
52 'data_type' => 'Bitrix\Report\ReportTable',
53 'reference' => array(
54 '=this.REPORT_ID' => 'ref.ID'
55 ),
56 ),
57 'ENTITY' => array(
58 'data_type' => 'string',
59 'required' => true
60 ),
61 'RIGHTS' => array(
62 'data_type' => 'string',
63 'required' => true
64 )
65 );
66
67 return $fieldsMap;
68 }
69
70}
static loadMessages($file)
Definition loc.php:64