public function clientList(array $filter = array())
  {
    $clients = array();

    foreach($this->getParent()->clientList() as $client)
    {
      if($client["cid"] == $this->getId())
      {
        $clients[$client->getId()] = $client;
      }
    }

    return $this->filterList($clients, $filter);
  }
public function clientList(array $filter = array())
  {
    $clients = array();

    foreach($this->getParent()->clientList() as $client)
    {
      if($client["cid"] == $this->getId())
      {
        $clients[$client->getId()] = $client;
      }
    }

    return $this->filterList($clients, $filter);
  }
public function clientList ( array $ filter = array ( ) ) { $ clients = array ( ) ; foreach ( $ this -> getParent ( ) -> clientList ( ) as $ client ) { if ( $ client [ "cid" ] == $ this -> getId ( ) ) { $ clients [ $ client -> getId ( ) ] = $ client ; } } return $ this -> filterList ( $ clients , $ filter ) ; }
Returns an array filled with TeamSpeak3_Node_Client objects.

@param  array $filter
@return array | TeamSpeak3_Node_Client[]
Returns an array filled with TeamSpeak3_Node_Client objects .