public function group() { if (func_num_args() > 0) { $types = func_get_args(); $this->groupForRender = array(); foreach ($types as $type) { $this->addToGrouping($type); } } return $this; }