IncludePhoneticMatches = false; $params->IncludeSuggestions = false; $formRGiant = array('siret'=> $_GET['company']); $params->Query = new AdvancedSearch($formRGiant); $informations = SwitchWSDLFunction('AdvancedSearch', $params, $soap_client); $identiteSociete = new GiantIdentite(); $identiteSociete->RegisteredName = $informations->Results->Company[0]->RegisteredName; $identiteSociete->CompanyRegisterNumber = $informations->Results->Company[0]->CompanyRegisterNumber; $identiteSociete->PostCodeAndCity = $identiteSociete->_createPostanCity( $informations->Results->Company[0]->Address->PostCode, $informations->Results->Company[0]->Address->City ); $identiteSociete->Adress = $identiteSociete->_createAdress( $informations->Results->Company[0]->Address->HouseNumber, $informations->Results->Company[0]->Address->Street, $informations->Results->Company[0]->Address->AddressType ); $identiteSociete->TelephoneNumbers = $identiteSociete->_createTelephoneNumber( $informations->Results->Company[0]->TelephoneNumbers ); $identiteSociete->NaceCode = $informations->Results->Company[0]->NaceCodes; $identiteSociete->LegalForm = $informations->Results->Company[0]->LegalForm; $identiteSociete->VatNumber = $informations->Results->Company[0]->VatNumber; $identiteSociete->CompanyWebSite = $informations->Results->Company[0]->CompanyWebSite; $identiteSociete->CompanyEmail = $informations->Results->Company[0]->CompanyEmail; setDbConn('giantclient'); $info = Doctrine_Query::create() ->select('Login, OrderDateTime, CompanyId, DataSetType') ->from('commande') ->where ('Login = :login') ->andWhere('CompanyId = :company') ->execute(array( ':login' => $_SESSION['tabInfo']['login'], ':company' => $_GET['company']), Doctrine_Core::HYDRATE_ARRAY); ?>