1 views_plugin_row.inc | views_plugin_row::render($row) |
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.
File
- core/
modules/ views/ plugins/ views_plugin_row.inc, line 138 - Contains the base row style plugin.
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
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 : '',
));
}