You are here

function _statistics_format_item in Drupal 5

Same name and namespace in other branches
  1. 4 modules/statistics.module \_statistics_format_item()
  2. 6 modules/statistics/statistics.module \_statistics_format_item()
  3. 7 modules/statistics/statistics.module \_statistics_format_item()
3 calls to _statistics_format_item()
statistics_recent_hits in modules/statistics/statistics.module
Menu callback; presents the "recent hits" page.
statistics_top_pages in modules/statistics/statistics.module
Menu callback; presents the "top pages" page.
statistics_user_tracker in modules/statistics/statistics.module

File

modules/statistics/statistics.module, line 518
Logs access statistics for your site.

Code

function _statistics_format_item($title, $path) {
  $path = $path ? $path : '/';
  $output = $title ? "{$title}<br />" : '';
  $output .= _statistics_link($path);
  return $output;
}