EventBuilder::build

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventBuilder
  4. build
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/builders/eventbuilder.php
  • Класс: BitrixCalendarCoreBuildersEventBuilder
  • Вызов: EventBuilder::build
public function build(): Event
{
	return $this->getBaseEvent()
		->setId($this->getId())
		->setParentId($this->getParentId())
		->setName($this->getName())
		->setRecurringRule($this->getRecurringRule())
		->setLocation($this->getLocation())
		->setStart($this->getStart())
		->setStartTimeZone($this->getStartTimezone())
		->setEnd($this->getEnd())
		->setEndTimeZone($this->getEndTimezone())
		->setIsFullDay($this->getFullDay())
		->setAttendeesCollection($this->getAttendees())
		->setRemindCollection($this->getReminders())
		->setSection($this->getSection())
		->setDescription($this->getDescription())
		->setColor($this->getColor())
		->setTransparent($this->getTransparency())
		->setAccessibility($this->getAccessibility())
		->setImportance($this->getImportance())
		->setIsPrivate($this->getIsPrivate())
		->setEventHost($this->getEventHost())
		->setCreator($this->getCreator())
		->setOwner($this->getOwner())
		->setMeetingDescription($this->getMeetingDescription())
		->setVersion($this->getVersion())
		->setCalendarType($this->getCalendarType())
		->setSpecialLabel($this->getSpecialLabel())
		->setUid($this->getUid())
		->setIsActive($this->isActive())
		->setIsDeleted($this->isDeleted())
		->setRecurrenceId($this->getRecurrenceId())
		->setDateCreate($this->getDateCreate())
		->setDateModified($this->getDateModified())
		->setOriginalDateFrom($this->getOriginalDate())
		->setExcludedDateCollection($this->getExcludedDate())
		->setIsMeeting($this->isMeeting())
		->setMeetingStatus($this->getMeetingStatus())
		->setOriginalDateFrom($this->getOriginalDate())
		->setRelations($this->getRelations())
	;
}

Добавить комментарий