Через класс посредник
[QUOTE]class ComponentResultManager{
protected static $result = array();
public static function set($code, $result){
static::$result[$code] = $result;
}
public static function get($code){
return static::$result[$code];
}
}
[/QUOTE]И пользуетесь потом
\ComponentResultManager::set('/index.php|news.list', $arResult);
$result = \ComponentResultManager::get('/index.php|news.list');
[QUOTE]class ComponentResultManager{
protected static $result = array();
public static function set($code, $result){
static::$result[$code] = $result;
}
public static function get($code){
return static::$result[$code];
}
}
[/QUOTE]И пользуетесь потом
\ComponentResultManager::set('/index.php|news.list', $arResult);
$result = \ComponentResultManager::get('/index.php|news.list');