You are here

function views_plugin_display::render_header in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_display.inc \views_plugin_display::render_header()
  2. 7.3 plugins/views_plugin_display.inc \views_plugin_display::render_header()

Render the header of the view.

File

plugins/views_plugin_display.inc, line 1795
Contains the base display plugin.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function render_header() {
  if (!empty($this->view->result) || $this
    ->get_option('header_empty')) {
    return $this
      ->render_textarea('header');
  }
}