EventBuilderFromEntityObject::getAttendees

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventBuilderFromEntityObject
  4. getAttendees
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/builders/eventbuilderfromentityobject.php
  • Класс: BitrixCalendarCoreBuildersEventBuilderFromEntityObject
  • Вызов: EventBuilderFromEntityObject::getAttendees
protected function getAttendees(): ?AttendeeCollection
{
	$collection = new AttendeeCollection();
	if (is_string($this->event->getAttendeesCodes()))
	{
		$collection->setAttendeesCodes(explode(',', $this->event->getAttendeesCodes()));
	}
	else
	{
		$collection->setAttendeesId([$this->event->getOwnerId()]);
	}

	return $collection;
}

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