Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
portalverifylimit.php
1
<?php
2
namespace
Bitrix\Sender\Integration\Bitrix24\Limitation
;
3
4
class
PortalVerifyLimit
extends
DailyLimit
5
{
9
public
function
getCurrent
()
10
{
11
return
1;
12
}
13
17
public
function
getLimit
()
18
{
19
$limit = parent::getLimit() ?: 1000;
20
return
$this->
isVerifiedSender
() ? $limit : 0;
21
}
22
26
public
function
setLimit
($limit)
27
{
28
}
29
30
protected
function
isVerifiedSender
(): bool
31
{
32
return
Verification::isEmailConfirmed
() &&
Verification::isPhoneConfirmed
();
33
}
34
}
Bitrix\Sender\Integration\Bitrix24\Limitation\DailyLimit
Definition
dailylimit.php:21
Bitrix\Sender\Integration\Bitrix24\Limitation\PortalVerifyLimit
Definition
portalverifylimit.php:5
Bitrix\Sender\Integration\Bitrix24\Limitation\PortalVerifyLimit\isVerifiedSender
isVerifiedSender()
Definition
portalverifylimit.php:30
Bitrix\Sender\Integration\Bitrix24\Limitation\PortalVerifyLimit\getCurrent
getCurrent()
Definition
portalverifylimit.php:9
Bitrix\Sender\Integration\Bitrix24\Limitation\PortalVerifyLimit\getLimit
getLimit()
Definition
portalverifylimit.php:17
Bitrix\Sender\Integration\Bitrix24\Limitation\PortalVerifyLimit\setLimit
setLimit($limit)
Definition
portalverifylimit.php:26
Bitrix\Sender\Integration\Bitrix24\Limitation\Verification\isEmailConfirmed
static isEmailConfirmed()
Definition
verification.php:14
Bitrix\Sender\Integration\Bitrix24\Limitation\Verification\isPhoneConfirmed
static isPhoneConfirmed()
Definition
verification.php:24
Bitrix\Sender\Integration\Bitrix24\Limitation
Definition
dailylimit.php:9
modules
sender
lib
integration
bitrix24
limitation
portalverifylimit.php
Создано системой
1.10.0