1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Factory.php
См. документацию.
1<?php
2
3namespace Bitrix\Im\V2\Chat\Collab\Entity;
4
5use Bitrix\Im\V2\Chat\Collab\Entity;
6use Bitrix\Im\V2\Common\ContextCustomer;
7use Bitrix\Main\Loader;
8
9class Factory
10{
11 use ContextCustomer;
12
13 private int $groupId;
14
15 public function __construct(int $groupId)
16 {
17 $this->groupId = $groupId;
18 }
19
23 public function getEntities(): array
24 {
25 if (!Loader::includeModule('socialnetwork'))
26 {
27 return [];
28 }
29
30 return [
31 new Tasks($this->groupId),
32 new Files($this->groupId),
33 new Calendar($this->groupId),
34 ];
35 }
36}
__construct(int $groupId)
Определения Factory.php:15
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804