You are here

function visitors_date_filter in Visitors 7.0

Same name and namespace in other branches
  1. 8 forms/date_filter.inc \visitors_date_filter()
  2. 7.2 forms/date_filter.inc \visitors_date_filter()
  3. 7 forms/date_filter.inc \visitors_date_filter()

Retrieves a date filter form from a constructor function, or from the cache if the form was built in a previous page-load. The form is then passed on for processing, after and rendered for display if necessary.

10 calls to visitors_date_filter()
visitors_days_of_month in reports/days_of_month.inc
Display days of month report.
visitors_days_of_week in reports/days_of_week.inc
Display days of week report.
visitors_hosts in reports/hosts.inc
Menu callback; presents the "hosts" page.
visitors_host_hits in reports/hosts.inc
Menu callback; presents the "hits from" page.
visitors_hours in reports/hours.inc
Display hours report.

... See full list

File

forms/date_filter.inc, line 13
Date filter form for the visitors module.

Code

function visitors_date_filter() {
  $form = drupal_get_form('visitors_date_filter_form');
  return drupal_render($form);
}