Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 924 → Rev 923

/trunk/metier/api_0.1/Eflore.php
52,9 → 52,6
protected function formaterUrl($tpl, Array $parametres) {
$parametres = $this->ajouterParametreParDefaut($parametres);
foreach($parametres as $key=> $value) {
if(is_array($value)) {
$value = implode(',', $value);
}
$tpl = str_replace('{'.$key.'}',rawurlencode($value),$tpl);
}
return $tpl;