public function action_stream_raw($cache_name, $ids = false, $transform = false) { try { $csd_cache = new iHRIS_CSDCache($cache_name); } catch (Exception $e) { return false; } $href = self::getAccessedBaseURL() . "csd_cache/{$cache_name}/xsl"; $ss = ''; if ($transform) { $ss = "<?xml-stylesheet type='text/xsl' href='{$href}'?>\n"; } $csd_cache->streamRaw($ids, -1, false, $ss, '', true); exit(0); return true; }