You are here

function sheetnode_raw_plugin_style::render in Sheetnode 7

Same name and namespace in other branches
  1. 6 views/sheetnode_raw_plugin_style.inc \sheetnode_raw_plugin_style::render()
  2. 7.2 views/sheetnode_raw_plugin_style.inc \sheetnode_raw_plugin_style::render()

Render the display in this style.

Overrides sheetnode_plugin_style::render

File

views/sheetnode_raw_plugin_style.inc, line 13
Views raw plugin for sheetnode as a display style.

Class

sheetnode_raw_plugin_style
@file Views raw plugin for sheetnode as a display style.

Code

function render() {
  $this
    ->inherit_options();
  drupal_add_http_header('Content-type', 'text/plain; charset=utf-8');
  return socialcalc_save(parent::render_sheet());
}