You are here

function views_limit_grouping_style_plugin::render_grouping in Views Grouping Row Limit 7

Same name and namespace in other branches
  1. 6 views_limit_grouping_style_plugin.inc \views_limit_grouping_style_plugin::render_grouping()

Overrides parent::render_grouping().

Overrides views_plugin_style::render_grouping

File

./views_limit_grouping_style_plugin.inc, line 52
views_grouping_limit_style_plugin.inc Our handler.

Class

views_limit_grouping_style_plugin
@file views_grouping_limit_style_plugin.inc Our handler.

Code

function render_grouping($records, $groupings = array(), $group_rendered = NULL) {
  $sets = parent::render_grouping($records, $groupings, $group_rendered);

  // Apply the offset and limit.
  array_walk($sets, array(
    $this,
    'group_limit_recursive',
  ));
  return $sets;
}