function views_plugin_style_atom_fields::attach_to in Views Atom 7
Same name and namespace in other branches
- 6 views/views_plugin_style_atom_fields.inc \views_plugin_style_atom_fields::attach_to()
Attach this view to another display as a feed.
Provide basic functionality for all export style views like attaching a feed image link.
File
- ./
views_plugin_style_atom_fields.inc, line 26 - Style plugin for a standard Atom feed.
Class
- views_plugin_style_atom_fields
- @file Style plugin for a standard Atom feed.
Code
function attach_to($display_id, $path, $title) {
$url_options = array(
'html' => true,
);
$image = theme('image', array(
'path' => $this->feed_image,
));
$this->view->feed_icon .= l($image, $path, $url_options);
}