RECHERCHE INTERNATIONALE

select('code') ->from('Country') ->where('graydon_country = ?', $pays); $result = $q->fetchOne(); $paysCode = $result->code; $_SESSION['graydon']['mode'] = 'demo'; $_SESSION['graydon']['paysCode'] = $paysCode; $_SESSION['graydon']['pays'] = $pays; ?>
Résultat de la recherche de démonstration : Authentication_Parameters = $authentication; $request->Country = $pays; try { // Make a request on the web service $result = $graydon->getDemoCompanies($request); //Enregistrement de l'action dans les logs $transactionIdentifier = $result->Service_Log->TransactionIdentifier; $sessionID = $result->Service_Log->SessionID; graydonRequeteLog($_SESSION['tabInfo']['login'], $page, 'getDemoCompanies', $transactionIdentifier, $sessionID, $manager); //Log de la requete dans la bdd setDbConn('graydon'); $log = new Requetelog(); $log->login = $_SESSION['tabInfo']['login']; $log->action = 'getDemoCompanies'; $log->request = serialize($request); $log->transactionIdentifier = $transactionIdentifier; $log->sessionID = $sessionID; $log->mode = 'demo'; $log->save(); //Get the list of companies $demoCompaniesCountry = $result->DemoCompanies->CountryAndCompany; ?>
Pays : Country; ?>
    Companies->Company); if ($count>1){ $demoCompanies = $demoCompaniesCountry->Companies->Company; }elseif($count==1){ $demoCompanies[] = $demoCompaniesCountry->Companies->Company; } $firephp->log($demoCompanies,'demoCompanies'); $counterCompany = 1; foreach($demoCompanies as $company){ ?>
  1. Name); ?>
    Adresse : RegisteredAddress->EntireAddress); ?>

faultstring) && $fault->faultcode = 'HTTP'){ print '
Le service partenaire n\'est pas disponible.'; }else{ $code = $fault->detail->GraydonCompanyData_Fault->FaultReturnCode; $text = $fault->detail->GraydonCompanyData_Fault->FaultMessage; $firephp->log($text,'texterror'); require_once 'graydon/graydon_error.php'; if(graydon_error($code, $text)==FALSE){ print graydon_processSoapFault($graydon,$fault,$tabInfo); } } } //*********** Mode normal }elseif($_REQUEST['mode']=='normal'){ $paysCode = $_REQUEST['frmRecherche']['CountryCode']; //Lire le libélé du pays graydon en fonction du code setDbConn('graydon'); $q = Doctrine_Query::Create() ->select('graydon_country') ->from('Country') ->where('code = ?', $paysCode); $result = $q->fetchOne(); $pays = $result->graydon_country; $firephp->log($pays,'pays'); $_SESSION['graydon']['pays'] = $pays; $_SESSION['graydon']['paysCode'] = $paysCode; $_SESSION['graydon']['mode'] = 'normal'; ?>
Résultat de la recherche : 0) { ?>
Pays : Service_Log->Country; ?>
    CompanyMatches->Company); if ($count>1){ $companies = $result->CompanyMatches->Company; }elseif($count==1){ $companies[] = $result->CompanyMatches->Company; } $firephp->log($companies,'companies'); $counterCompany = 1; foreach($companies as $company){ ?>
  1. Name); ?>
    Addresse : RegisteredAddress->EntireAddress); ?>

Si aucun résultat ne correspond à votre recherche.

Cliquez-ici pour essayer à nouveau avec des informations différentes.


Aucun résultat n'a été trouvé. Cliquez-ici pour retourner au formulaire de recherche.