function fullcalendar_plugin_display_page::render in FullCalendar 7
Same name and namespace in other branches
- 6 fullcalendar_plugin_display_page.inc \fullcalendar_plugin_display_page::render()
Render this display.
Overrides views_plugin_display::render
File
- ./
fullcalendar_plugin_display_page.inc, line 12 - Contains the view display plugin.
Class
- fullcalendar_plugin_display_page
- Forces the calendar to display a fake node if none are returned.
Code
function render() {
if (empty($this->view->result)) {
$this->view->result[] = new stdClass();
$this->view->empty_text = $this
->render_area('empty');
}
return parent::render();
}