_statistics_format_item

Versions
4.6
_statistics_format_item($title, $link)
4.7 – 7
_statistics_format_item($title, $path)

▾ 3 functions call _statistics_format_item()

statistics_recent_hits in modules/statistics/statistics.admin.inc
Menu callback; presents the "recent hits" page.
statistics_top_pages in modules/statistics/statistics.admin.inc
Menu callback; presents the "top pages" page.
statistics_user_tracker in modules/statistics/statistics.pages.inc

Code

modules/statistics/statistics.module, line 371

<?php
function _statistics_format_item($title, $path) {
  $path = ($path ? $path : '/');
  $output  = ($title ? "$title<br />" : '');
  $output .= _statistics_link($path);
  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.