From 9c9cda0ac823863c6760d77984ea2ecaf87c52ab Mon Sep 17 00:00:00 2001 From: polo Date: Tue, 16 Jul 2024 05:04:13 +0200 Subject: =?UTF-8?q?renommage=20complet=20des=20ID=20en=20id:=20variables,?= =?UTF-8?q?=20m=C3=A9thodes,=20BDD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/Locations.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/model/Locations.php') diff --git a/src/model/Locations.php b/src/model/Locations.php index 103cecd..c6b8deb 100644 --- a/src/model/Locations.php +++ b/src/model/Locations.php @@ -4,8 +4,8 @@ class Locations extends Model { // lecture des données ou hydratation - protected $ID; - protected $ID_presta; + protected $id; + protected $id_presta; protected $designation; protected $modele_description; protected $valeur; @@ -70,9 +70,9 @@ class Locations extends Model } // setters - public function setIDPresta(int $value) + public function setIdPresta(int $value) { - $this->ID_presta = $value; + $this->id_presta = $value; return($this); } public function setDesignation(string $value) -- cgit v1.2.3