/[openfoncier]/trunk/services/outgoing/MessageSenderRest.class.php
ViewVC logotype

Diff of /trunk/services/outgoing/MessageSenderRest.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2012 by vpihour, Mon Jun 17 11:00:13 2013 UTC revision 2013 by vpihour, Mon Jun 17 14:13:18 2013 UTC
# Line 126  class MessageSenderRest { Line 126  class MessageSenderRest {
126              $this->headers['http_code'] = $info['http_code'];              $this->headers['http_code'] = $info['http_code'];
127                            
128              //Décomposition des données selon le type de retour              //Décomposition des données selon le type de retour
129              switch ($this->acceptedContentType[$info['content_type']]) {              $contentType = isset($this->acceptedContentType[$info['content_type']])?$this->acceptedContentType[$info['content_type']]: '';
130                switch ($contentType) {
131                  case 'xml':                  case 'xml':
132                      $this->response = (array) simplexml_load_string($this->response, 'SimpleXMLElement', LIBXML_NOCDATA);                      $this->response = (array) simplexml_load_string($this->response, 'SimpleXMLElement', LIBXML_NOCDATA);
133                      break;                      break;

Legend:
Removed from v.2012  
changed lines
  Added in v.2013

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26