You are here

class sheetnode_raw_plugin_style in Sheetnode 6

Same name and namespace in other branches
  1. 7.2 views/sheetnode_raw_plugin_style.inc \sheetnode_raw_plugin_style
  2. 7 views/sheetnode_raw_plugin_style.inc \sheetnode_raw_plugin_style

Hierarchy

Expanded class hierarchy of sheetnode_raw_plugin_style

1 string reference to 'sheetnode_raw_plugin_style'
sheetnode_views_plugins in ./sheetnode.views.inc
Implementation of hook_views_plugins().

File

views/sheetnode_raw_plugin_style.inc, line 3

View source
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());
  }

}

Members