AttendeesCollection::checkCollection

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. AttendeesCollection
  4. checkCollection
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/ical/builder/attendeescollection.php
  • Класс: BitrixCalendarICalBuilderAttendeesCollection
  • Вызов: AttendeesCollection::checkCollection
private function checkCollection(?array $collection): bool
{
	if (is_null($collection))
	{
		return true;
	}

	$attendee = array_filter($collection, static function ($attendee) {
		return !($attendee instanceof Attendee);
	});

	return empty($attendee);
}

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