You are here

function xhprof_link in XHProf 7

2 calls to xhprof_link()
xhprof_shutdown in ./xhprof.module
See xhprof_start() which registers this function as a shutdown function.
xhprof_shutdown_real in ./xhprof.module
See xhprof_shutdown() which registers this function as a shutdown function. Displays xhprof link in the footer.

File

./xhprof.module, line 203

Code

function xhprof_link($run_id, $type = 'link') {
  $url = url(XHPROF_PATH . '/' . $run_id, array(
    'absolute' => TRUE,
  ));
  return $type == 'url' ? $url : l(t('XHProf output'), $url);
}