You are here

function calendar_plugin_style_ical::query in Calendar 7

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

Add anything to the query that we might need to.

Overrides views_plugin_style::query

File

calendar_ical/calendar_plugin_style_ical.inc, line 18
Views style plugin for the Calendar iCal module.

Class

calendar_plugin_style_ical
Default style plugin to render an iCal feed.

Code

function query() {

  // We need these values for the iCal feed.
  $this->view->query
    ->add_field('node', 'title');
  $this->view->query
    ->add_field('node', 'type');
  parent::query();
}