1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
CreateEventCategoryDto.php
См. документацию.
1<?php
2
4
6
8{
9 public function __construct(
10 public readonly string $name,
11 public readonly string $description,
12 public readonly bool $closed = false,
13 public readonly array $attendees = [],
14 public readonly array $departmentIds = [],
15 public readonly ?int $channelId = null,
16
17 public readonly ?bool $isPrimary = null,
18 )
19 {
20 }
21
22 public static function fromRequest(array $request): self
23 {
24 $channelId = $request['channelId'] ?? null;
25
26 return new self(
27 name: (string)$request['name'],
28 description: (string)$request['description'],
29 closed: $request['closed'] === 'true',
30 attendees: $request['attendees'] ?? [],
31 departmentIds: $request['departmentIds'] ?? [],
32 channelId: $channelId ? (int)$channelId : null,
33 );
34 }
35}
if(empty( $fields)) foreach($fields as $field) $channelId
Определения push.php:23
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=false, public readonly array $attendees=[], public readonly array $departmentIds=[], public readonly ?int $channelId=null, public readonly ?bool $isPrimary=null,)
Определения CreateEventCategoryDto.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