1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
UpdateEventCategoryDto.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\OpenEvents\Controller\Request\EventCategory;
4
5use Bitrix\Calendar\OpenEvents\Controller\Request\RequestDtoInterface;
6
8{
9 public function __construct(
10 public readonly ?string $name,
11 public readonly ?string $description,
12 public readonly ?bool $closed,
13 public readonly ?array $attendees,
14 )
15 {
16 }
17
18 public static function fromRequest(array $request): self
19 {
20 return new self(
21 name: ($request['name'] ?? null) ? (string)$request['name'] : null,
22 description: ($request['description'] ?? null) ? (string)$request['description'] : null,
23 closed: null,
24 attendees: null,
25 );
26 }
27}
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения catalog_reindex.php:36
__construct(public readonly ?string $name, public readonly ?string $description, public readonly ?bool $closed, public readonly ?array $attendees,)
Определения UpdateEventCategoryDto.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
if(Loader::includeModule( 'bitrix24')) elseif(Loader::includeModule('intranet') &&CIntranetUtils::getPortalZone() !=='ru') $description
Определения .description.php:24
$name
Определения menu_edit.php:35