function views_plugin_style::pre_render

Same name in other branches
  1. 7.x-3.x plugins/views_plugin_style.inc \views_plugin_style::pre_render()

Allow the style to do stuff before each row is rendered.

Parameters

$result: The full array of results from the query.

File

plugins/views_plugin_style.inc, line 221

Class

views_plugin_style
Base class to define a style plugin handler.

Code

function pre_render($result) {
    if (!empty($this->row_plugin)) {
        $this->row_plugin
            ->pre_render($result);
    }
}