You are here

function views_plugin_style::pre_render in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_style.inc \views_plugin_style::pre_render()
  2. 7.3 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 125

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);
  }
}