示例#1
0
 function prepSettings()
 {
     $endiaPrep = new Geoparser_Edina();
     $this->APIuri = $endiaPrep->get_API_URI();
     $this->requestHost = $endiaPrep->get_requestHost();
     $this->user = $endiaPrep->get_user();
     $this->password = $endiaPrep->get_password();
 }
示例#2
0
 function prepSettings()
 {
     $edinaPrep = new Geoparser_Edina();
     $this->APIuri = $edinaPrep->get_API_URI();
     $this->requestHost = $edinaPrep->get_requestHost();
     $this->user = $edinaPrep->get_user();
     $this->password = $edinaPrep->get_password();
     $this->userKey = $edinaPrep->get_userKey();
     $this->resourceURI = false;
     $this->resultFormat = "json";
     //default to JSON
 }