ExcludedDatesCollection::toString

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. ExcludedDatesCollection
  4. toString
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/event/properties/excludeddatescollection.php
  • Класс: BitrixCalendarCoreEventPropertiesExcludedDatesCollection
  • Вызов: ExcludedDatesCollection::toString
public function toString(string $separator = ';'): string
{
	return implode(
		$separator,
		array_unique(
			array_map(
				fn (Date $date) => $date->format(CCalendar::DFormat(false)),
				$this->collection)
		));
}

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