You are here

function event_ical in Event 5

Same name and namespace in other branches
  1. 5.2 event.module \event_ical()

Url wrapper function for ical feeds

Return value

redirect to the event ical feed page at current day

Related topics

1 string reference to 'event_ical'
event_menu in ./event.module
Implementation of hook_menu()

File

./event.module, line 477

Code

function event_ical($types = 'all', $terms = 'all', $duration = NULL) {
  drupal_goto('event/' . format_date(_event_user_time(), 'custom', 'Y/m/d') . '/ical/' . $types . '/' . $terms . '/' . $duration);
  drupal_set_title(t('iCal support not enabled'));
  return $output;
}