TeamSpeak3/Node/Server.php
public function clientGetById($clid)
    {
        if (!array_key_exists((string)$clid, $this->clientList())) {
            throw new Ts3Exception("invalid clientID", 0x200);
        }

        return $this->clientList[intval((string)$clid)];
    }
public function clientGetById($clid)
    {
        if (!array_key_exists((string)$clid, $this->clientList())) {
            throw new Ts3Exception("invalid clientID", 0x200);
        }

        return $this->clientList[intval((string)$clid)];
    }
public function clientGetById ( $ clid ) { if ( ! array_key_exists ( ( string ) $ clid , $ this -> clientList ( ) ) ) { throw new Ts3Exception ( "invalid clientID" , 0x200 ) ; } return $ this -> clientList [ intval ( ( string ) $ clid ) ] ; }
Returns the Client object matching the given ID.

@param  integer $clid
@throws Ts3Exception
@return Client
Returns the Client object matching the given ID .