Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
limit.php
1
<?php
2
namespace
Bitrix\Im\Integration\Imopenlines
;
3
4
use
Bitrix\Main\Loader
;
5
6
use Bitrix\Imopenlines;
7
8
class
Limit
9
{
10
private
static
function
isModuleIncluded()
11
{
12
return
Loader::includeModule(
'imopenlines'
);
13
}
14
15
public
static
function
getLicenseUsersLimit
()
16
{
17
return
false
;
18
}
19
20
public
static
function
canUseVoteHead
()
21
{
22
if
(!self::isModuleIncluded())
23
return
false
;
24
25
return
Imopenlines\Limit::canUseVoteHead();
26
}
27
28
public
static
function
canJoinChatUser
()
29
{
30
if
(!self::isModuleIncluded())
31
return
false
;
32
33
return
Imopenlines\Limit::canJoinChatUser();
34
}
35
36
public
static
function
canTransferToLine
()
37
{
38
if
(!self::isModuleIncluded())
39
return
false
;
40
41
return
Imopenlines\Limit::canTransferToLine();
42
}
43
}
Bitrix\Im\Integration\Imopenlines\Limit
Definition
limit.php:9
Bitrix\Im\Integration\Imopenlines\Limit\getLicenseUsersLimit
static getLicenseUsersLimit()
Definition
limit.php:15
Bitrix\Im\Integration\Imopenlines\Limit\canTransferToLine
static canTransferToLine()
Definition
limit.php:36
Bitrix\Im\Integration\Imopenlines\Limit\canUseVoteHead
static canUseVoteHead()
Definition
limit.php:20
Bitrix\Im\Integration\Imopenlines\Limit\canJoinChatUser
static canJoinChatUser()
Definition
limit.php:28
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Im\Integration\Imopenlines
Definition
limit.php:2
modules
im
lib
integration
imopenlines
limit.php
Создано системой
1.10.0