• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/event/properties/remindcollection.php
  • Класс: BitrixCalendarCoreEventPropertiesRemindCollection
  • Вызов: RemindCollection::getSpecificTimeCollection
public function getSpecificTimeCollection(string $dateFormat = null): array
{
	if (!$this->start)
	{
		throw new PropertyException('You should set start event time. Use setEventStart.');
	}

	return array_map(function ($remind) use ($dateFormat) {
		/** @var Remind $remind */
		try
		{
			return $remind
				->setEventStart($this->start)
				->getSpecificTime()
				->format($dateFormat)
			;
		}
		catch (PropertyException $exception)
		{
			return '';
		}
	}, $this->collection);
}