You are here

function _statistics_format_item in Drupal 6

Same name and namespace in other branches
  1. 4 modules/statistics.module \_statistics_format_item()
  2. 5 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.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

File

modules/statistics/statistics.module, line 306
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;
}