Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1568 → Rev 1569

/trunk/scripts/bibliotheque/DelScript.php
23,7 → 23,7
protected function initialiserProjet($projetNom) {
$this->projetNom = $projetNom;
}
 
//+------------------------------------------------------------------------------------------------------+
// Méthodes d'url
/**
36,8 → 36,8
* @param String $tpl le squelette d'url à formater.
* @param Array $parametres le tableau de parametres (sans accolades pour les clés).*/
public function formaterUrl($tpl, Array $parametres) {
foreach($parametres as $key=> $value) {
$tpl = str_replace('{'.$key.'}',rawurlencode($value),$tpl);
foreach ($parametres as $key=> $value) {
$tpl = str_replace('{'.$key.'}', rawurlencode($value), $tpl);
}
return $tpl;
}
54,7 → 54,7
}
return $this->Bdd;
}
 
//+----------------------------------------------------------------------------------------------------------------+
// GESTION DES SQUELETTES PHP