Subversion Repositories eFlore/Applications.del

Rev

Rev 2009 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2009 Rev 2010
Line 148... Line 148...
148
		}
148
		}
149
		$service .= (count($parametres) > 0) ? '?'.implode('&', $parametres) : '';
149
		$service .= (count($parametres) > 0) ? '?'.implode('&', $parametres) : '';
Line 150... Line 150...
150
	
150
	
151
		$url = sprintf($this->config['chemins']['baseURLServicesDelTpl'], $service);
151
		$url = sprintf($this->config['chemins']['baseURLServicesDelTpl'], $service);
-
 
152
		$json = $this->getDao()->consulter($url);
Line 152... Line 153...
152
		$json = $this->getDao()->consulter($url);
153
		$retour = json_decode($json, true);
153
	
154
	
154
		return (array) json_decode($json);
155
		return $retour;
155
	}
156
	}