You are here

function sheetnode_plugin_style::attach_to in Sheetnode 7.2

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

Attach sheetnode fields to plugin style.

1 call to sheetnode_plugin_style::attach_to()
sheetnode_phpexcel_plugin_style::attach_to in modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc
Attach sheetnode fields to plugin style.
1 method overrides sheetnode_plugin_style::attach_to()
sheetnode_phpexcel_plugin_style::attach_to in modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc
Attach sheetnode fields to plugin style.

File

views/sheetnode_plugin_style.inc, line 588

Class

sheetnode_plugin_style
Extentions for sheetnode plugin style.

Code

function attach_to($display_id, $path, $title) {
  $url_options = array(
    'html' => TRUE,
  );
  $input = $this->view
    ->get_exposed_input();
  if ($input) {
    $url_options['query'] = $input;
  }
  $image = theme('image', array(
    'path' => $this->feed_image,
  ));
  $this->view->feed_icon .= l($image, $this->view
    ->get_url(NULL, $path), $url_options);
}