You are here

function calendar_plugin_display_ical::execute in Calendar 7

Same name and namespace in other branches
  1. 6.2 calendar_ical/calendar_plugin_display_ical.inc \calendar_plugin_display_ical::execute()
  2. 7.2 calendar_ical/calendar_plugin_display_ical.inc \calendar_plugin_display_ical::execute()

Feeds do not go through the normal page theming mechanism. Instead, they go through their own little theme function and then return NULL so that Drupal believes that the page has already rendered itself...which it has.

Overrides views_plugin_display_page::execute

File

calendar_ical/calendar_plugin_display_ical.inc, line 28
Views display plugin for the Calendar iCal module.

Class

calendar_plugin_display_ical
The plugin that handles a feed, such as RSS or atom.

Code

function execute() {
  $output = $this->view
    ->render();
  if (empty($output)) {
    return drupal_not_found();
  }
  print $output;
}