1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
user.php
См. документацию.
1
<?php
2
namespace
Bitrix\Im\Integration\Imopenlines;
3
4
class
User
5
{
6
public
static
function
isOperator
(
$userId
=
null
)
7
{
8
if
(!\
Bitrix
\
Main
\Loader::includeModule(
'imopenlines'
))
9
{
10
return
false
;
11
}
12
13
$userId
=
\Bitrix\Im\Common::getUserId
(
$userId
);
14
if
(!
$userId
)
15
{
16
return
false
;
17
}
18
19
return \Bitrix\ImOpenLines\Config::isOperator(
$userId
);
20
}
21
}
$userId
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения
check_mail.php:18
Bitrix\Im\Common\getUserId
static getUserId($userId=null)
Определения
common.php:73
Bitrix\Im\Integration\Imopenlines\User
Определения
user.php:5
Bitrix\Im\Integration\Imopenlines\User\isOperator
static isOperator($userId=null)
Определения
user.php:6
Bitrix\Main
Bitrix
bitrix
modules
im
lib
integration
imopenlines
user.php
Создано системой
1.14.0