1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
FirstAddedMemberData.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
6
10
12{
13 public function __construct(
15 public readonly int $collabId,
16 public readonly ?DateTime $addedDate,
17 public readonly bool $isFirstMemberAdded = true,
18 )
19 {
20
21 }
22
23 public static function createFromArray(array $data): self
24 {
25 return new self(
26 $data['collabId'],
27 $data['date'] ?? null,
28 $data['isFirstMemberAdded'] ?? true,
29 );
30 }
31
32 public function toArray()
33 {
34 return [
35 'collabId' => $this->collabId,
36 'date' => $this->addedDate,
37 'isFirstMemberAdded' => $this->isFirstMemberAdded,
38 ];
39 }
40}
__construct(#[PositiveNumber] public readonly int $collabId, public readonly ?DateTime $addedDate, public readonly bool $isFirstMemberAdded=true,)
Определения FirstAddedMemberData.php:13
$data['IS_AVAILABLE']
Определения .description.php:13
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804