You are here

function calendar_plugin_display_attachment::render in Calendar 7

Same name and namespace in other branches
  1. 6.2 includes/calendar_plugin_display_attachment.inc \calendar_plugin_display_attachment::render()
  2. 7.2 includes/calendar_plugin_display_attachment.inc \calendar_plugin_display_attachment::render()

Instead of going through the standard views_view.tpl.php, delegate this to the style handler.

Overrides views_plugin_display::render

File

includes/calendar_plugin_display_attachment.inc, line 28
Views display plugin for the Calendar module.

Class

calendar_plugin_display_attachment
The plugin that handles calendar attachment displays.

Code

function render() {
  if (!empty($this->view->date_info->forbid)) {
    return '';
  }
  return $this->view->style_plugin
    ->render($this->view->result);
}