src/Plugin/Admin.php
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;
    }
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;
    }
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 ; }
Function used to display the default usergroup in the JFusion plugin overview

@return array Default usergroup name
Function used to display the default usergroup in the JFusion plugin overview