Commit bf36b09e authored by alexpott's avatar alexpott
Browse files

Issue #2003332 by NonProfit, Frederico, jibran: Rename Views method...

Issue #2003332 by NonProfit, Frederico, jibran: Rename Views method render_grouping_sets() to renderGroupingSets().
parent 42af4a57
......@@ -90,7 +90,7 @@ abstract class StylePluginBase extends PluginBase {
*
* @var string
*
* @see StylePluginBase::render_grouping_sets()
* @see StylePluginBase::renderGroupingSets()
*/
protected $groupingTheme = 'views_view_grouping';
......@@ -438,7 +438,7 @@ function render() {
TRUE
);
return $this->render_grouping_sets($sets);
return $this->renderGroupingSets($sets);
}
/**
......@@ -455,7 +455,7 @@ function render() {
* @return string
* Rendered output of given grouping sets.
*/
function render_grouping_sets($sets, $level = 0) {
public function renderGroupingSets($sets, $level = 0) {
$output = array();
$theme_functions = views_theme_functions($this->groupingTheme, $this->view, $this->view->display_handler->display);
foreach ($sets as $set) {
......
......@@ -366,7 +366,7 @@ function theme_views_view_fields($variables) {
* - title: The group heading.
*/
function template_preprocess_views_view_grouping(&$vars) {
$vars['content'] = $vars['view']->style_plugin->render_grouping_sets($vars['rows'], $vars['grouping_level']);
$vars['content'] = $vars['view']->style_plugin->renderGroupingSets($vars['rows'], $vars['grouping_level']);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment