You are here

public function views_plugin_style::pre_render in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_style.inc \views_plugin_style::pre_render()
  2. 6.2 plugins/views_plugin_style.inc \views_plugin_style::pre_render()

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

Parameters

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

File

plugins/views_plugin_style.inc, line 332
Definition of views_plugin_style.

Class

views_plugin_style
Base class to define a style plugin handler.

Code

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