1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
testerdailylimit.php
См. документацию.
1
<?php
8
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
Определения
dailylimit.php:21
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit
Определения
testerdailylimit.php:18
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\increment
static increment()
Определения
testerdailylimit.php:55
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\getCurrent
getCurrent()
Определения
testerdailylimit.php:24
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\getLimit
getLimit()
Определения
testerdailylimit.php:34
Bitrix\Sender\Integration\Bitrix24\Limitation\TesterDailyLimit\setLimit
setLimit($limit)
Определения
testerdailylimit.php:45
Bitrix\Sender\Internals\Model\DailyCounterTable\incrementFieldValue
static incrementFieldValue($fieldName, $increment=1)
Определения
dailycounter.php:104
Bitrix\Sender\Internals\Model\DailyCounterTable\getCurrentFieldValue
static getCurrentFieldValue($fieldName)
Определения
dailycounter.php:130
bitrix
modules
sender
lib
integration
bitrix24
limitation
testerdailylimit.php
Создано системой
1.14.0