1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
limiter.php
См. документацию.
1<?php
8
9namespace Bitrix\Sender\Integration\VoxImplant;
10
11use Bitrix\Main\Localization\Loc;
12use Bitrix\Main\Config\Option;
13
14use Bitrix\Sender\Transport;
15
16Loc::loadMessages(__FILE__);
17
23{
25 private $parameters = array();
26
30 public function __construct()
31 {
32 $this->setParameter('textView', true);
33 $this->setParameter('temporaryLimit', true);
34 }
35
40 public function getLimit()
41 {
42 return Option::get('sender', '~call_limit', 5);
43 }
44
50 public function getCurrent()
51 {
53 }
54
60 public function getCaption()
61 {
62 return '';
63 }
64
71 public function getParameter($name)
72 {
73 return isset($this->parameters[$name]) ? $this->parameters[$name] : null;
74 }
75
83 public function setParameter($name, $value)
84 {
85 $this->parameters[$name] = $value;
86 return $this;
87 }
88
94 public function getUnitName()
95 {
96 return Loc::getMessage('SENDER_INTEGRATION_CALL_LIMITER_UNIT_NAME');
97 }
98
107 public function getUnit()
108 {
109 return null;
110 }
111
115 public function isHidden()
116 {
117 return false;
118 }
119}
setParameter($name, $value)
Определения limiter.php:83
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$name
Определения menu_edit.php:35