• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/composite/internals/automaticarea.php
  • Класс: BitrixMainCompositeInternalsAutomaticArea
  • Вызов: AutomaticArea::start
public function start()
{
	if (!CompositeEngine::getUseHTMLCache() || !$this->isFirstLevelComponent())
	{
		return false;
	}

	if (StaticArea::getCurrentDynamicId() !== false)
	{
		return false;
	}

	if ($this->component->getDefaultFrameMode() === false || $this->getFrameType() === "STATIC")
	{
		return false;
	}

	if (in_array($this->component->getName(), array("bitrix:breadcrumb", "bitrix:main.include")))
	{
		return false;
	}

	if ($this->component->getName() === "bitrix:menu" &&
		isset($this->component->arParams["DELAY"]) &&
		$this->component->arParams["DELAY"] === "Y"
	)
	{
		return false;
	}

	$this->started = true;
	static::$currentArea = $this;

	ob_start();

	return true;
}