class views_plugin_row_rdf in Views Atom 6
Same name and namespace in other branches
- 7 views_plugin_row_rdf.inc \views_plugin_row_rdf
Plugin which performs a node_view on the resulting object and formats it as an RSS item.
Hierarchy
- class \views_plugin_row_rdf extends \views_plugin_row
Expanded class hierarchy of views_plugin_row_rdf
1 string reference to 'views_plugin_row_rdf'
- views_atom_views_plugins in views/
views_atom.views.inc - Implementation of hook_views_plugins().
File
- views/
views_plugin_row_rdf.inc, line 12 - Contains the RDF row style plugin.
View source
class views_plugin_row_rdf extends views_plugin_row {
// Basic properties that let the row style follow relationships.
var $base_table = 'node';
var $base_field = 'nid';
function render($row) {
// For the most part, this code is taken from node_feed() in node.module
global $base_url;
$nid = $row->{$this->field_alias};
if (!is_numeric($nid)) {
return;
}
return theme($this
->theme_functions(), $this->view, $this->options, $row);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
views_plugin_row_rdf:: |
property | 1 | ||
views_plugin_row_rdf:: |
property | 1 | ||
views_plugin_row_rdf:: |
function | 1 |