original_string: function getDefaultUsergroup()
      {
          $usergroups = Groups::get($this->getJname(), true);
  
          $groups = array();
          if ($usergroups !== null) {
  	        $list = $this->getUsergroupList();
  	        foreach ($list as $group) {
  		        if(in_array($group->id, $usergroups)){
  			        $groups[] = $group->name;
  		        }
  	        }
          }
          return $groups;
      }
code: function getDefaultUsergroup()
      {
          $usergroups = Groups::get($this->getJname(), true);
  
          $groups = array();
          if ($usergroups !== null) {
  	        $list = $this->getUsergroupList();
  	        foreach ($list as $group) {
  		        if(in_array($group->id, $usergroups)){
  			        $groups[] = $group->name;
  		        }
  	        }
          }
          return $groups;
      }
code_tokens: function getDefaultUsergroup ( ) { $ usergroups = Groups :: get ( $ this -> getJname ( ) , true ) ; $ groups = array ( ) ; if ( $ usergroups !== null ) { $ list = $ this -> getUsergroupList ( ) ; foreach ( $ list as $ group ) { if ( in_array ( $ group -> id , $ usergroups ) ) { $ groups [ ] = $ group -> name ; } } } return $ groups ; }
docstring: Function used to display the default usergroup in the JFusion plugin overview
  
  @return array Default usergroup name
docstring_tokens: Function used to display the default usergroup in the JFusion plugin overview