You are here

function event_ical in Event 5.2

Same name and namespace in other branches
  1. 5 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 495

Code

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