You are here

function calendar_plugin_style::init in Calendar 7.3

Same name and namespace in other branches
  1. 6.2 includes/calendar_plugin_style.inc \calendar_plugin_style::init()
  2. 7 includes/calendar_plugin_style.inc \calendar_plugin_style::init()
  3. 7.2 includes/calendar_plugin_style.inc \calendar_plugin_style::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

includes/calendar_plugin_style.inc, line 22
Views style plugin for the Calendar module.

Class

calendar_plugin_style
Default style plugin to render an iCal feed.

Code

function init(&$view, &$display, $options = NULL) {
  parent::init($view, $display, $options);
  if (empty($view->date_info)) {
    $this->date_info = new stdClass();
  }
  $this->date_info =& $this->view->date_info;
}