fullcalendar_plugin_display_page.inc in FullCalendar 7
Same filename and directory in other branches
Contains the view display plugin.
File
fullcalendar_plugin_display_page.incView source
<?php
/**
 * @file
 * Contains the view display plugin.
 */
/**
 * Forces the calendar to display a fake node if none are returned.
 */
class fullcalendar_plugin_display_page extends views_plugin_display_page {
  function render() {
    if (empty($this->view->result)) {
      $this->view->result[] = new stdClass();
      $this->view->empty_text = $this
        ->render_area('empty');
    }
    return parent::render();
  }
}Classes
| Name   | Description | 
|---|---|
| fullcalendar_plugin_display_page | Forces the calendar to display a fake node if none are returned. | 
