public function memberOf()
  {
    $cgroups = array($this->getParent()->channelGroupGetById($this["client_channel_group_id"]));
    $sgroups = array();

    foreach(explode(",", $this["client_servergroups"]) as $sgid)
    {
      $sgroups[] = $this->getParent()->serverGroupGetById($sgid);
    }

    uasort($sgroups, array(__CLASS__, "sortGroupList"));

    return array_merge($cgroups, $sgroups);
  }
public function memberOf()
  {
    $cgroups = array($this->getParent()->channelGroupGetById($this["client_channel_group_id"]));
    $sgroups = array();

    foreach(explode(",", $this["client_servergroups"]) as $sgid)
    {
      $sgroups[] = $this->getParent()->serverGroupGetById($sgid);
    }

    uasort($sgroups, array(__CLASS__, "sortGroupList"));

    return array_merge($cgroups, $sgroups);
  }
public function memberOf ( ) { $ cgroups = array ( $ this -> getParent ( ) -> channelGroupGetById ( $ this [ "client_channel_group_id" ] ) ) ; $ sgroups = array ( ) ; foreach ( explode ( "," , $ this [ "client_servergroups" ] ) as $ sgid ) { $ sgroups [ ] = $ this -> getParent ( ) -> serverGroupGetById ( $ sgid ) ; } uasort ( $ sgroups , array ( __CLASS__ , "sortGroupList" ) ) ; return array_merge ( $ cgroups , $ sgroups ) ; }
Returns all server and channel groups the client is currently residing in.

@return array
Returns all server and channel groups the client is currently residing in .