1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
GetOpenEventListDto.php
См. документацию.
1<?php
2
4
6
8{
9 public function __construct(
10 public readonly ?int $categoryId = null,
11 public readonly ?bool $onlyCurrentUser = null,
12 public readonly ?bool $onlyWithComments = null,
13 public readonly ?int $fromYear = null,
14 public readonly ?int $fromMonth = null,
15 public readonly ?int $toYear = null,
16 public readonly ?int $toMonth = null,
17 )
18 {
19 }
20
21 public static function fromRequest(array $request): self
22 {
23 return new self(
24 categoryId: isset($request['categoryId'])
25 ? (int)$request['categoryId']
26 : null,
27 onlyCurrentUser: isset($request['onlyCurrentUser'])
28 ? $request['onlyCurrentUser'] === 'true'
29 : null,
30 onlyWithComments: isset($request['onlyWithComments'])
31 ? $request['onlyWithComments'] === 'true'
32 : null,
33 fromYear: $request['fromYear'] ? (int)$request['fromYear'] : null,
34 fromMonth: $request['fromMonth'] ? (int)$request['fromMonth'] : null,
35 toYear: $request['toYear'] ? (int)$request['toYear'] : null,
36 toMonth: $request['toMonth'] ? (int)$request['toMonth'] : null,
37 );
38 }
39}
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения catalog_reindex.php:36
__construct(public readonly ?int $categoryId=null, public readonly ?bool $onlyCurrentUser=null, public readonly ?bool $onlyWithComments=null, public readonly ?int $fromYear=null, public readonly ?int $fromMonth=null, public readonly ?int $toYear=null, public readonly ?int $toMonth=null,)
Определения GetOpenEventListDto.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