Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
limit.php
1<?php
3
5
6use Bitrix\Imopenlines;
7
8class 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}