original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns all groups
  
  @return array
docstring_tokens: Returns all groups