public function clientGetByName($name)
  {
    foreach($this->clientList() as $client)
    {
      if($client["client_nickname"] == $name) return $client;
    }

    throw new \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\ServerQuery\Exception("invalid clientID", 0x200);
  }
public function clientGetByName($name)
  {
    foreach($this->clientList() as $client)
    {
      if($client["client_nickname"] == $name) return $client;
    }

    throw new \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\ServerQuery\Exception("invalid clientID", 0x200);
  }
public function clientGetByName ( $ name ) { foreach ( $ this -> clientList ( ) as $ client ) { if ( $ client [ "client_nickname" ] == $ name ) return $ client ; } throw new \ ManiaLivePlugins \ Standard \ TeamSpeak \ TeamSpeak3 \ Adapter \ ServerQuery \ Exception ( "invalid clientID" , 0x200 ) ; }
Returns the TeamSpeak3_Node_Client object matching the given name.

@param  integer $name
@throws \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Adapter\ServerQuery\Exception
@return TeamSpeak3_Node_Client
Returns the TeamSpeak3_Node_Client object matching the given name .