1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
sectionentityhelper.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Integration\SocialNetwork\Collab\Entity;
4
5
use Bitrix\Main\Loader;
6
use Bitrix\Main\ObjectException;
7
8
final
class
SectionEntityHelper
9
{
13
public
static
function
getIfCollab
(
int
$id): ?
SectionEntity
14
{
15
try
16
{
17
if
(!Loader::includeModule(
'socialnetwork'
))
18
{
19
return
null
;
20
}
21
22
return
new
SectionEntity
($id);
23
}
24
catch
(
ObjectException
)
25
{
26
}
27
28
return
null
;
29
}
30
}
Bitrix\Calendar\Integration\SocialNetwork\Collab\Entity\SectionEntityHelper
Определения
sectionentityhelper.php:9
Bitrix\Calendar\Integration\SocialNetwork\Collab\Entity\SectionEntityHelper\getIfCollab
static getIfCollab(int $id)
Определения
sectionentityhelper.php:13
Bitrix\Calendar\Integration\SocialNetwork\Collab\Entity\SectionEntity
Определения
sectionentity.php:20
Bitrix\Main\ObjectException
Определения
ObjectException.php:9
bitrix
modules
calendar
lib
integration
socialnetwork
collab
entity
sectionentityhelper.php
Создано системой
1.14.0