function views_pdf_plugin_style_table::attach_to in Views PDF 7.3
Same name and namespace in other branches
- 6 views_pdf_plugin_style_table.inc \views_pdf_plugin_style_table::attach_to()
- 7 views_pdf_plugin_style_table.inc \views_pdf_plugin_style_table::attach_to()
- 7.2 plugins/views_pdf_plugin_style_table.inc \views_pdf_plugin_style_table::attach_to()
Attach this view to another display.
File
- ./
views_pdf_plugin_style_table.inc, line 304 - Table PDF style plugin
Class
- views_pdf_plugin_style_table
- Style plugin to render each item as a row in a table.
Code
function attach_to($display_id, $path, $title) {
$display = $this->view->display[$display_id]->handler;
$url_options = array();
$input = $this->view
->get_exposed_input();
if ($input) {
$url_options['query'] = $input;
}
if (empty($this->view->feed_icon)) {
$this->view->feed_icon = '';
}
$this->view->feed_icon .= theme('views_pdf_icon', array(
'path' => $this->view
->get_url(NULL, $path),
'title' => $title,
'options' => $url_options,
));
}