public function getGroups($byid = false, $skip_guest = false)
    {
        if ($byid) {

            $data = $this->byid;

            if ($skip_guest) {
                unset($data[- 1]);
            }
        }
        else {
            $data = $this->groups;

            if ($skip_guest) {
                unset($data['Core'][- 1]);
            }
        }

        return $data;
    }
public function getGroups($byid = false, $skip_guest = false)
    {
        if ($byid) {

            $data = $this->byid;

            if ($skip_guest) {
                unset($data[- 1]);
            }
        }
        else {
            $data = $this->groups;

            if ($skip_guest) {
                unset($data['Core'][- 1]);
            }
        }

        return $data;
    }
public function getGroups ( $ byid = false , $ skip_guest = false ) { if ( $ byid ) { $ data = $ this -> byid ; if ( $ skip_guest ) { unset ( $ data [ - 1 ] ) ; } } else { $ data = $ this -> groups ; if ( $ skip_guest ) { unset ( $ data [ 'Core' ] [ - 1 ] ) ; } } return $ data ; }
Returns all groups

@return array
Returns all groups