function calendar_plugin_style_ical::init in Calendar 7
Same name and namespace in other branches
- 6.2 calendar_ical/calendar_plugin_style_ical.inc \calendar_plugin_style_ical::init()
- 7.2 calendar_ical/calendar_plugin_style_ical.inc \calendar_plugin_style_ical::init()
Initialize a style plugin.
Parameters
view $view:
object $display:
array $options: The style options might come externally as the style can be sourced from at least two locations. If it's not included, look on the display.
Overrides views_plugin_style::init
File
- calendar_ical/
calendar_plugin_style_ical.inc, line 12 - Views style plugin for the Calendar iCal module.
Class
- calendar_plugin_style_ical
- Default style plugin to render an iCal feed.
Code
function init(&$view, &$display, $options = NULL) {
parent::init($view, $display, $options);
$fields = $display->handler->default_display->options['fields'];
$this->options['fields'] = $fields;
}