You are here

sheetnode_raw_plugin_style.inc in Sheetnode 6

File

views/sheetnode_raw_plugin_style.inc
View source
<?php

class sheetnode_raw_plugin_style extends sheetnode_feed_plugin_style {
  function init(&$view, &$display, $options = NULL) {
    parent::init($view, $display, $options = NULL);
    $this->feed_image = drupal_get_path('module', 'sheetnode') . '/images/socialtext.png';
  }
  function render() {
    $this
      ->inherit_options();
    drupal_set_header('Content-type: text/plain; charset=utf-8');
    return socialcalc_save(parent::render_sheet());
  }

}

Classes