Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
testerdailylimit.php
1
<?php
9
namespace
Bitrix\Sender\Integration\Bitrix24\Limitation
;
10
11
use
Bitrix\Sender\Internals\Model
;
12
17
class
TesterDailyLimit
extends
DailyLimit
18
{
24
public
function
getCurrent
()
25
{
26
return
Model\DailyCounterTable::getCurrentFieldValue(
'TEST_SENT_CNT'
);
27
}
28
34
public
function
getLimit
()
35
{
36
return
intval(parent::getLimit() / 10);
37
}
38
45
public
function
setLimit
($limit)
46
{
47
48
}
49
55
public
static
function
increment
()
56
{
57
Model\DailyCounterTable::incrementFieldValue(
'TEST_SENT_CNT'
);
58
}
59
}
Bitrix\Sender\Integration\Bitrix24\Limitation\DailyLimit
Definition
dailylimit.php:21
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit
Definition
testerdailylimit.php:18
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\increment
static increment()
Definition
testerdailylimit.php:55
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\getCurrent
getCurrent()
Definition
testerdailylimit.php:24
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\getLimit
getLimit()
Definition
testerdailylimit.php:34
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\setLimit
setLimit($limit)
Definition
testerdailylimit.php:45
Bitrix\Sender\Integration\Bitrix24\Limitation
Definition
dailylimit.php:9
Bitrix\Sender\Internals\Model
Definition
abuse.php:3
modules
sender
lib
integration
bitrix24
limitation
testerdailylimit.php
Создано системой
1.10.0