public function get_group($groupid) {
        $groups = $this->get_all_groups();
        if (!array_key_exists($groupid, $groups)) {
            return false;
        }
        return $groups[$groupid];
    }
public function get_group($groupid) {
        $groups = $this->get_all_groups();
        if (!array_key_exists($groupid, $groups)) {
            return false;
        }
        return $groups[$groupid];
    }
public function get_group ( $ groupid ) { $ groups = $ this -> get_all_groups ( ) ; if ( ! array_key_exists ( $ groupid , $ groups ) ) { return false ; } return $ groups [ $ groupid ] ; }
Gets the requested group

@param int $groupid
@return stdClass|int
Gets the requested group