You are here

function event_calendar_list in Event 5.2

Same name and namespace in other branches
  1. 5 event.module \event_calendar_list()

Creates a themed list of events.

Parameters

$op :

$date The date:

$end_date end date of the menu:

$types:

$terms:

Return value

A themed list of events.

Related topics

1 call to event_calendar_list()
event_page in ./event.module
Displays a page containing event information. The page layout defaults to a graphical calendar.

File

./event.module, line 693

Code

function event_calendar_list($op, $date, $end_date, $types = NULL, $terms = NULL, $rewrite_parameter = array()) {
  $rows = '';
  $cur_date = $date;
  event_calendar_data($date, 'list', $types, $terms, 'prepopulate', $end_date, $rewrite_parameter);
  while (event_is_later($end_date, $cur_date)) {
    $rows .= event_render_day($cur_date, 'list', $types, $terms, $rewrite_parameter);
    $cur_date = event_date_later($cur_date, 1);
  }
  return $rows;
}