function sheetnode_phpexcel_plugin_style::attach_to in Sheetnode 7
Same name and namespace in other branches
- 5 modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc \sheetnode_phpexcel_plugin_style::attach_to()
- 6 modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc \sheetnode_phpexcel_plugin_style::attach_to()
- 7.2 modules/sheetnode_phpexcel/sheetnode_phpexcel_plugin_style.inc \sheetnode_phpexcel_plugin_style::attach_to()
Overrides sheetnode_plugin_style::attach_to
File
- modules/
sheetnode_phpexcel/ sheetnode_phpexcel_plugin_style.inc, line 31 - Views plugin style to run through sheetnode_phpexcel.
Class
- sheetnode_phpexcel_plugin_style
- @file Views plugin style to run through sheetnode_phpexcel.
Code
function attach_to($display_id, $path, $title) {
$plugins = sheetnode_phpexcel_get_plugins();
$this->feed_image = drupal_get_path('module', 'sheetnode_phpexcel') . "/images/{$this->options['format']}.png";
if (!is_file($this->feed_image)) {
$this->feed_image = drupal_get_path('module', 'sheetnode_phpexcel') . "/images/spreadsheet.png";
}
parent::attach_to($display_id, $path, $title);
}