public function clientGetById($clid)
  {
    if(!array_key_exists($clid, $this->clientList()))
    {
      throw new Exception("invalid clientID", 0x200);
    }

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

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

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