/**
* Render the display in this style.
*/
public function render() { // Group the rows according to the grouping instructions, if specified.
$sets =
$this->
renderGrouping( $this->view->result,
$this->options
['grouping'
],
TRUE
);
return $this->
renderGroupingSets($sets);
} /**
* Render the grouping sets.
*
* Plugins may override this method if they wish some other way of handling
* grouping.
*
* @param $sets
* An array keyed by group content containing the grouping sets to render.
* Each set contains the following associative array:
* - group: The group content.
* - level: The hierarchical level of the grouping.
* - rows: The result rows to be rendered in this group..
*
* @return array
* Render array of grouping sets.
*/