From 9bdfb5196a2ee1cbfc403702e8d2ef88076d366f Mon Sep 17 00:00:00 2001 From: polo Date: Wed, 5 Jul 2023 01:39:29 +0200 Subject: classe Latex "fonctionnelle" --- src/model/Clients.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/model/Clients.php') diff --git a/src/model/Clients.php b/src/model/Clients.php index 8f460c6..d9dd28d 100644 --- a/src/model/Clients.php +++ b/src/model/Clients.php @@ -35,27 +35,27 @@ class Clients extends Model public function setPrenomNom($value) { $this->prenom_nom = (string) $value; - return($this); + return $this; } public function setCodeClient($value) { $this->code_client = (string) $value; - return($this); + return $this; } public function setAdresse($value) { $this->adresse = (string) $value; - return($this); + return $this; } public function setCodePostal($value) { $this->code_postal = (string) $value; - return($this); + return $this; } public function setVille($value) { $this->ville = (string) $value; - return($this); + return $this; } public function setTelephone($value) // chaine parce que zenity renvoie une chaine et parce qu'on garde le 0 au début @@ -69,17 +69,17 @@ class Clients extends Model $this->telephone = ''; echo 'debug: le champ "telephone" ne doit comporter que des nombres, aucun numéro ne sera utilisé' . "\n"; } - return($this); + return $this; } public function setCourriel($value) { $this->courriel = (string) $value; - return($this); + return $this; } public function setApropos($value) { $this->apropos = (string) $value; - return($this); + return $this; } @@ -106,6 +106,6 @@ class Clients extends Model } } } - return($result); + return $result; } } -- cgit v1.2.3