1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
eventcategorybuilder.php
См. документацию.
1<?php
2
4
7
8abstract class EventCategoryBuilder implements Builder
9{
10 public function build(): EventCategory
11 {
12 return (new EventCategory())
13 ->setId($this->getId())
14 ->setName($this->getName())
15 ->setCreatorId($this->getCreatorId())
16 ->setClosed($this->getClosed())
17 ->setDescription($this->getDescription())
18 ->setAccessCodes($this->getAccessCodes())
19 ->setDeleted($this->getDeleted())
20 ->setChannelId($this->getChannelId())
21 ->setEventsCount($this->getEventsCount())
22 ;
23 }
24
25 abstract protected function getId(): ?int;
26 abstract protected function getName(): ?string;
27 abstract protected function getCreatorId(): ?int;
28 abstract protected function getClosed(): ?bool;
29 abstract protected function getDescription(): ?string;
30 abstract protected function getAccessCodes(): ?array;
31 abstract protected function getDeleted(): ?bool;
32 abstract protected function getChannelId(): ?int;
33 abstract protected function getEventsCount(): ?int;
34}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804