From 8baf04c38b11cf7517db829725cb63ffdd4d7161 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 14 Sep 2010 16:36:29 +0000 Subject: [PATCH] Ajout type pour la recherche, issue #0000343 --- application/controllers/ServiceController.php | 6 + .../Types/RechercheEntrepriseTypes.php | 115 +++++++++++++++++- 2 files changed, 119 insertions(+), 2 deletions(-) diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index e9e61c87..9f85288f 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -60,10 +60,12 @@ class ServiceController extends Zend_Controller_Action // Fourniture du service } else { + // Données de configuration placé dans le registre $webservicesConfig = new Zend_Config_Ini(APPLICATION_PATH . '/configs/webservices.ini', APPLICATION_ENV); Zend_Registry::set('webservicesConfig',$webservicesConfig); + //Gestion des types de données $classmap = array( 'IdentiteReturnType' => 'IdentiteReturnType', 'IdentiteResultType' => 'IdentiteResultType', @@ -71,6 +73,10 @@ class ServiceController extends Zend_Controller_Action 'IdentiteBilan' => 'IdentiteBilan', 'IdentiteBourse' => 'IdentiteBourse', + 'RechercheEntrepriseType' => 'RechercheEntrepriseType', + 'CriteresEntreprise' => 'CriteresEntreprise', + 'CriteresDirigeant' => 'CriteresDirigeant', + 'ErrorType' => 'ErrorType', 'StatusResultType' => 'StatusResultType', diff --git a/library/WsScore/Types/RechercheEntrepriseTypes.php b/library/WsScore/Types/RechercheEntrepriseTypes.php index be594305..ea78d13e 100644 --- a/library/WsScore/Types/RechercheEntrepriseTypes.php +++ b/library/WsScore/Types/RechercheEntrepriseTypes.php @@ -1,6 +1,117 @@