Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
workgroupsubjectsite.php
1<?php
9
11
28class WorkgroupSubjectSiteTable extends Entity\DataManager
29{
30 public static function getTableName()
31 {
32 return 'b_sonet_group_subject_site';
33 }
34
35 public static function getMap()
36 {
37 return array(
38 'SUBJECT_ID' => array(
39 'data_type' => 'integer',
40 'primary' => true
41 ),
42 'SUBJECT' => array(
43 'data_type' => '\Bitrix\Socialnetwork\WorkgroupSubject',
44 'reference' => array('=this.SUBJECT_ID' => 'ref.ID')
45 ),
46 'SITE_ID' => array(
47 'data_type' => 'string',
48 'primary' => true
49 ),
50 'SITE' => array(
51 'data_type' => '\Bitrix\Main\Site',
52 'reference' => array('=this.SITE_ID' => 'ref.LID')
53 ),
54 );
55 }
56}