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
- See result_modifier.php in the Bitrix24 Framework learning course.
© «Bitrix24», 2001-2024