arParams["IBLOCK_ID"] <= 0) { return; } if ($this->startResultCache()) { $this->arResult = MegaMenu::collect($this->arParams["IBLOCK_ID"], $this->arParams["BRANDS_LIMIT"]); $taggedCache = Application::getInstance()->getTaggedCache(); foreach (MegaMenu::tags($this->arParams["IBLOCK_ID"]) as $tag) { $taggedCache->registerTag($tag); } if (empty($this->arResult["TYPES"])) { $this->abortResultCache(); return; } $this->includeComponentTemplate(); } } }