• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/dispatch/durationdatebased.php
  • Класс: BitrixSenderDispatchDurationDateBased
  • Вызов: DurationDateBased::getInterval
public function getInterval($count)
{
	$sent = $this->letter->getCounter()->getSent();
	if (!$sent)
	{
		return 0;
	}

	return ceil(($this->getElapsedInterval() / $sent) * $count);
}