• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/builders/sectionbuilderfromarray.php
  • Класс: BitrixCalendarCoreBuildersSectionBuilderFromArray
  • Вызов: SectionBuilderFromArray::build
public function build(): Section
{
	return (new Section())
		->setId($this->getId())
		->setName($this->getName())
		->setColor($this->getColor())
		->setDescription($this->getDescription())
		->setGoogleId($this->getGoogleId())
		->setSyncToken($this->getSyncToken())
		->setCalDavConnectionId($this->getCalDavConnectionId())
		->setExternalType($this->getExternalType())
		->setType($this->getType())
		->setIsActive($this->getIsActive())
		->setXmlId($this->getXmlId())
		->setOwner($this->getOwner())
		->setCreator($this->getCreator())
	;
}