Documentation

setResultCacheKeys

CBitrixComponent::setResultCacheKeys(
 $arResultCacheKeys
);

$arResultCacheKeys is the list of $arResult array keys that must be cached when using in-built component caching. Non-static method.

Example

$this->SetResultCacheKeys(array(
   "IBLOCK_ID",
   "ID",
   "IBLOCK_SECTION_ID",
   "NAME",
   "PROPERTIES",
   "SECTION",
));
$this->IncludeComponentTemplate();

See Also



© «Bitrix24», 2001-2022
Up