original_string: public function col_groups($row) {
          $groups = '';
          if ($usergrps = groups_get_all_groups($this->feedbackstructure->get_cm()->course, $row->userid, 0, 'name')) {
              foreach ($usergrps as $group) {
                  $groups .= format_string($group->name). ' ';
              }
          }
          return trim($groups);
      }
code: public function col_groups($row) {
          $groups = '';
          if ($usergrps = groups_get_all_groups($this->feedbackstructure->get_cm()->course, $row->userid, 0, 'name')) {
              foreach ($usergrps as $group) {
                  $groups .= format_string($group->name). ' ';
              }
          }
          return trim($groups);
      }
code_tokens: public function col_groups ( $ row ) { $ groups = '' ; if ( $ usergrps = groups_get_all_groups ( $ this -> feedbackstructure -> get_cm ( ) -> course , $ row -> userid , 0 , 'name' ) ) { foreach ( $ usergrps as $ group ) { $ groups .= format_string ( $ group -> name ) . ' ' ; } } return trim ( $ groups ) ; }
docstring: Prepares column groups for display
  @param array $row
  @return string
docstring_tokens: Prepares column groups for display