You are here

function sheetnode_plugin_style::attach_to in Sheetnode 6

Same name and namespace in other branches
  1. 7.2 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::attach_to()
  2. 7 views/sheetnode_plugin_style.inc \sheetnode_plugin_style::attach_to()
1 call to sheetnode_plugin_style::attach_to()
sheetnode_phpexcel_plugin_style::attach_to in modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc
1 method overrides sheetnode_plugin_style::attach_to()
sheetnode_phpexcel_plugin_style::attach_to in modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc

File

views/sheetnode_plugin_style.inc, line 475

Class

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', $this->feed_image);
  $this->view->feed_icon .= l($image, $this->view
    ->get_url(NULL, $path), $url_options);
}