function views_plugin_row::render
Render a row object. This usually passes through to a theme template of some form, but not always.
Parameters
stdClass $row: A single row of the query result, so an element of $view->result.
Return value
string The rendered output of a single row, used by the style plugin.
7 methods override views_plugin_row::render()
- views_plugin_row_aggregator_rss::render in modules/
aggregator/ views_plugin_row_aggregator_rss.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
- views_plugin_row_comment_rss::render in modules/
comment/ views_plugin_row_comment_rss.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
- views_plugin_row_node_rss::render in modules/
node/ views_plugin_row_node_rss.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
- views_plugin_row_node_view::render in modules/
node/ views_plugin_row_node_view.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
- views_plugin_row_rss_fields::render in plugins/
views_plugin_row_rss_fields.inc - Render a row object. This usually passes through to a theme template of some form, but not always.
File
-
plugins/
views_plugin_row.inc, line 151
Class
- views_plugin_row
- Default plugin to view a single row of a table. This is really just a wrapper around a theme function.
Code
public function render($row) {
return theme($this->theme_functions(), array(
'view' => $this->view,
'options' => $this->options,
'row' => $row,
'field_alias' => isset($this->field_alias) ? $this->field_alias : '',
));
}