RoomBuilder::build

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. RoomBuilder
  4. build
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/builders/rooms/roombuilder.php
  • Класс: BitrixCalendarCoreBuildersRoomsRoomBuilder
  • Вызов: RoomBuilder::build
public function build(): Room
{
	return
		$this
			->getBaseRoom()
			->setId($this->getId())
			->setLocationId($this->getLocationId())
			->setCapacity($this->getCapacity())
			->setNecessity($this->getNecessity())
			->setName($this->getName())
			->setColor($this->getColor())
			->setOwnerId($this->getOwnerId())
			->setCreatedBy()
			->setAccess($this->getAccess())
			->setCategoryId($this->getCategoryId())
	;
}

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