1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
SetBanDto.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\OpenEvents\Controller\Request\EventCategory;
4
5use Bitrix\Calendar\OpenEvents\Controller\Request\RequestDtoInterface;
6
7final class SetBanDto implements RequestDtoInterface
8{
9 public function __construct(
10 readonly public bool $banState,
11 )
12 {
13 }
14
15 public static function fromRequest(array $request): self
16 {
17 return new self(
18 banState: ($request['banState'] ?? 'false') === 'true',
19 );
20 }
21}
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения catalog_reindex.php:36
__construct(readonly public bool $banState,)
Определения SetBanDto.php:9
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804