You are here

function calendar_plugin_display_ical::preview in Calendar 7

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

Fully render the display.

Used for the purposes of a live preview or some other AJAXy reason.

Overrides views_plugin_display::preview

File

calendar_ical/calendar_plugin_display_ical.inc, line 36
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 preview() {
  return '<pre>' . check_plain($this->view
    ->render()) . '</pre>';
}