public function clientGetByDbid($dbid)
  {
    foreach($this->clientList() as $client)
    {
      if($client["client_database_id"] == $dbid) return $client;
    }

    throw new Exception("invalid clientID", 0x200);
  }
public function clientGetByDbid($dbid)
  {
    foreach($this->clientList() as $client)
    {
      if($client["client_database_id"] == $dbid) return $client;
    }

    throw new Exception("invalid clientID", 0x200);
  }
public function clientGetByDbid ( $ dbid ) { foreach ( $ this -> clientList ( ) as $ client ) { if ( $ client [ "client_database_id" ] == $ dbid ) return $ client ; } throw new Exception ( "invalid clientID" , 0x200 ) ; }
Returns the Client object matching the given database ID.

@param  integer $dbid
@throws Exception
@return Client
Returns the Client object matching the given database ID .