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')) ) {