1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
SkippingUnauthorized.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\MessageService\Restriction;
4
5
trait SkippingUnauthorized
6
{
7
public
function
isCanSend(): bool
8
{
9
if
($this->
getEntity
() ===
'0'
)
10
{
11
return
true
;
12
}
13
return
parent::isCanSend();
14
}
15
16
public
function
increase(): bool
17
{
18
if
($this->
getEntity
() ===
'0'
)
19
{
20
return
true
;
21
}
22
23
return
parent::increase();
24
}
25
}
Bitrix\Main\ORM\Data\DataManager\getEntity
static getEntity()
Определения
datamanager.php:65
bitrix
modules
messageservice
lib
Restriction
SkippingUnauthorized.php
Создано системой
1.14.0