Skip to content

Instantly share code, notes, and snippets.

@u-mulder
Last active October 5, 2015 14:30
Show Gist options
  • Save u-mulder/20e9e72c39811f10d3fa to your computer and use it in GitHub Desktop.
Save u-mulder/20e9e72c39811f10d3fa to your computer and use it in GitHub Desktop.
Using data from result_modifier.php in component_epilog.php (bitrix)
<?php
echo 'result is ' . $arResult['SOME_KEY']['key'];
<?php
$some_data = array(
'key' => 'value'
);
$this->__component->arResult['SOME_KEY'] = $some_data;
$this->__component->SetResultCacheKeys(array('SOME_KEY'));
@u-mulder
Copy link
Author

u-mulder commented Oct 5, 2015

How to use data from component's result_modifier.php in a component_epilog.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment