1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
workgroupsite.php
См. документацию.
1<?php
8namespace Bitrix\Socialnetwork;
9
10use Bitrix\Main\Entity;
11use Bitrix\Main\Localization\Loc;
12use Bitrix\Socialnetwork\Internals\site\SiteEntityCollection;
13
14Loc::loadMessages(__FILE__);
15
32class WorkgroupSiteTable extends Entity\DataManager
33{
34 public static function getCollectionClass(): string
35 {
36 return SiteEntityCollection::class;
37 }
38
39 public static function getTableName(): string
40 {
41 return 'b_sonet_group_site';
42 }
43
44 public static function getMap()
45 {
46 return array(
47 'GROUP_ID' => array(
48 'data_type' => 'integer',
49 'primary' => true,
50 ),
51 'GROUP' => array(
52 'data_type' => '\Bitrix\Socialnetwork\Workgroup',
53 'reference' => array('=this.GROUP_ID' => 'ref.ID'),
54 ),
55 'SITE_ID' => array(
56 'data_type' => 'string',
57 'primary' => true,
58 ),
59 'SITE' => array(
60 'data_type' => '\Bitrix\Main\Site',
61 'reference' => array('=this.SITE_ID' => 'ref.LID'),
62 ),
63 );
64 }
65}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804