You are here

function sheetnode_raw_plugin_style::render in Sheetnode 7.2

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

Render plugin style.

Overrides sheetnode_plugin_style::render

File

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

Class

sheetnode_raw_plugin_style
Extension for raw sheetnode plugin style.

Code

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