Skip to content
Snippets Groups Projects
Commit 6d7e22ac authored by adiouf's avatar adiouf
Browse files

Correction libelle, nom champ pour webservice webkiosk

git-svn-id: http://afi-forge.afi-sa.fr/svn/opacce/trunk@2701 e3cc70dd-a52f-4065-8a26-0e09943c8c5c
parent 1a44b695
No related merge requests found
......@@ -22,8 +22,8 @@ class Push_WebkioskController extends Zend_Controller_Action {
public function getAllBorrowersAction(){
$this->getHelper('ViewRenderer')->setNoRender();
$attributes = ['idAbon', 'login', 'password', 'nom', 'prenom', 'mail',
'dateNaissanceIso8601', 'date_Fin', 'date_Debut'];
$attributes = ['idabon', 'login', 'password', 'nom', 'prenom', 'mail',
'dateNaissanceIso8601', 'dateFin', 'dateDebut'];
$response = Class_Multimedia_PushAllUsersRequest::newWith(
Class_Multimedia_Connector_Webkiosk::getInstance()
->initAttributes($attributes))
......
......@@ -82,7 +82,6 @@ class Class_Multimedia_Connector_Webkiosk {
public function stdClassFrom($item) {
$data = new StdClass();
$this->_attributes = ['id', 'login', 'password', 'nom', 'prenom', 'email','dateNaissanceIso8601', 'dateFin', 'dateDebut'];
foreach ($this->_attributes as $attribute) {
$method = 'get' . ucfirst($attribute);
$data->$attribute = $item->$method();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment