1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
Factory.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Chat\Collab\Entity;
4
5
use Bitrix\Im\V2\Chat\Collab\Entity;
6
use Bitrix\Im\V2\Common\ContextCustomer;
7
use Bitrix\Main\Loader;
8
9
class
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
}
Bitrix\Im\V2\Chat\Collab\Entity\Calendar
Определения
Calendar.php:12
Bitrix\Im\V2\Chat\Collab\Entity\Factory
Определения
Factory.php:10
Bitrix\Im\V2\Chat\Collab\Entity\Factory\__construct
__construct(int $groupId)
Определения
Factory.php:15
Bitrix\Im\V2\Chat\Collab\Entity\Factory\getEntities
getEntities()
Определения
Factory.php:23
Bitrix\Im\V2\Chat\Collab\Entity\Files
Определения
Files.php:10
Bitrix\Im\V2\Chat\Collab\Entity\Tasks
Определения
Tasks.php:12
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
im
lib
V2
Chat
Collab
Entity
Factory.php
Создано системой
1.14.0