Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 1047 → Rev 1048

/trunk/metier/api_0.1/Eflore.php
112,5 → 112,15
return $this->restClient;
}
 
 
static function s_formaterUrl($tpl, Array $parametres) {
foreach($parametres as $key => $value) {
if(is_array($value)) {
$value = implode(',', $value);
}
$tpl = str_replace('{'.$key.'}',rawurlencode($value), $tpl);
}
return $tpl;
}
}
?>