• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/controller/export.php
  • Класс: BitrixMainControllerExport
  • Вызов: Export::hasTimeLimitReached
protected function hasTimeLimitReached()
{
	if ($this->timeLimit > 0)
	{
		if ($this->timeLimitReached)
		{
			return true;
		}
		if ((time() - $this->hitStartTime) >= $this->timeLimit)
		{
			$this->timeLimitReached = true;

			return true;
		}
	}

	return false;
}