You are here

class fullcalendar_plugin_display_page in FullCalendar 6

Same name and namespace in other branches
  1. 6.2 includes/views/plugins/fullcalendar_plugin_display_page.inc \fullcalendar_plugin_display_page
  2. 7 fullcalendar_plugin_display_page.inc \fullcalendar_plugin_display_page

Forces the calendar to display a fake node if none are returned.

Hierarchy

Expanded class hierarchy of fullcalendar_plugin_display_page

1 string reference to 'fullcalendar_plugin_display_page'
fullcalendar_views_plugins in ./fullcalendar.views.inc
Implementation of hook_views_plugins().

File

./fullcalendar_plugin_display_page.inc, line 11
Contains the view display plugin.

View source
class fullcalendar_plugin_display_page extends views_plugin_display_page {
  function render() {
    if ($this->view->total_rows == 0) {
      $this->view->result[] = new stdClass();
      $this->view->empty = $this
        ->render_textarea('empty');
    }
    return parent::render();
  }

}

Members