Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 36 → Rev 35

/trunk/bibliotheque/dao/Dao.php
13,7 → 13,6
* @version SVN: $Id$
*/
abstract class Dao {
const HTTP_REQUETE_SEPARATEUR = '&';
protected $distinction = '0';
protected $limite_debut = null;
protected $limite_nbre = null;
73,7 → 72,7
}
protected function envoyerRequeteSuppression($url) {
$retour = $this->envoyerRequete($url, 'DELETE');
$retour = $this->envoyerRequete($url, 'DELETE', $donnees);
return $retour;
}
87,7 → 86,7
'http' => array(
'method' => $mode,
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'content' => http_build_query($donnees, null, HTTP_REQUETE_SEPARATEUR))));
'content' => http_build_query($donnees))));
$flux = @fopen($url, 'r', false, $contexte);
if (!$flux) {
$this->traiterEntete($http_response_header, $url);