1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
TariffLimitPopupItem.php
См. документацию.
1<?php
2
3namespace Bitrix\Im\V2\TariffLimit;
4
5use Bitrix\Im\V2\Rest\PopupDataItem;
6
8{
9 private bool $isHistoryLimitExceeded;
10
11 public function __construct(bool $isHistoryLimitExceeded)
12 {
13 $this->isHistoryLimitExceeded = $isHistoryLimitExceeded;
14 }
15
16 public function merge(PopupDataItem $item): PopupDataItem
17 {
18 return $this;
19 }
20
21 public static function getRestEntityName(): string
22 {
23 return 'tariffRestrictions';
24 }
25
26 public function toRestFormat(array $option = []): ?array
27 {
28 return [
29 'isHistoryLimitExceeded' => $this->isHistoryLimitExceeded,
30 ];
31 }
32}
__construct(bool $isHistoryLimitExceeded)
Определения TariffLimitPopupItem.php:11
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$option
Определения options.php:1711