From bdd7ca2de1d48645bb3a64edac604f904c275eb6 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 21 Mar 2013 09:27:34 +0000 Subject: [PATCH] issue #0000930 : Activate methode setParam --- application/models/Sdv1Utilisateurs.php | 7 ++++++- library/WsScore/Gestion/v0.3/Gestion.php | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/application/models/Sdv1Utilisateurs.php b/application/models/Sdv1Utilisateurs.php index c802a892..f1424bb2 100644 --- a/application/models/Sdv1Utilisateurs.php +++ b/application/models/Sdv1Utilisateurs.php @@ -4,10 +4,15 @@ class Application_Model_Sdv1Utilisateurs extends Zend_Db_Table_Abstract protected $_name = 'utilisateurs'; protected $_schema = 'sdv1'; protected $_referenceMap = array( - 'Reporter' => array( + 'Client' => array( 'columns' => 'idClient', 'refTableClass' => 'Sdv1Clients', 'refColumns' => 'id' + ), + 'Service' => array( + 'columns' => 'login', + 'refTableClass' => 'Sdv1UtilisateursService', + 'refColumns' => 'login' ), ); } \ No newline at end of file diff --git a/library/WsScore/Gestion/v0.3/Gestion.php b/library/WsScore/Gestion/v0.3/Gestion.php index d9eca467..b6bdf649 100644 --- a/library/WsScore/Gestion/v0.3/Gestion.php +++ b/library/WsScore/Gestion/v0.3/Gestion.php @@ -1829,7 +1829,7 @@ class Gestion extends WsScore * @throws SoapFault * @return boolean */ - protected function setParam($element, $idClient, $service, $login=null) + public function setParam($element, $idClient, $service, $login=null) { $element = strtoupper($element); if ( !in_array($element, array('IP', 'ACCESS')) ) {