1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
eventcategorybuilderfromproviderobject.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Core\Builders\EventCategory;
4
5use Bitrix\Calendar\OpenEvents\Item\Category;
6
8{
9 public function __construct(private readonly Category $eventCategory)
10 {
11 }
12
13 protected function getId(): ?int
14 {
15 return $this->eventCategory->id;
16 }
17
18 protected function getName(): ?string
19 {
20 return $this->eventCategory->name;
21 }
22
23 protected function getCreatorId(): ?int
24 {
25 return $this->eventCategory->creatorId;
26 }
27
28 protected function getClosed(): ?bool
29 {
30 return $this->eventCategory->closed;
31 }
32
33 protected function getDescription(): ?string
34 {
35 return $this->eventCategory->description;
36 }
37
38 protected function getAccessCodes(): ?array
39 {
40 return null;
41 }
42
43 protected function getDeleted(): ?bool
44 {
45 return false;
46 }
47
48 protected function getChannelId(): ?int
49 {
50 return $this->eventCategory->channelId;
51 }
52
53 protected function getEventsCount(): ?int
54 {
55 return $this->eventCategory->eventsCount;
56 }
57}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804