summaryrefslogtreecommitdiff
path: root/src/model/Clients.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/Clients.php')
-rw-r--r--src/model/Clients.php18
1 files changed, 9 insertions, 9 deletions
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
35 public function setPrenomNom($value) 35 public function setPrenomNom($value)
36 { 36 {
37 $this->prenom_nom = (string) $value; 37 $this->prenom_nom = (string) $value;
38 return($this); 38 return $this;
39 } 39 }
40 public function setCodeClient($value) 40 public function setCodeClient($value)
41 { 41 {
42 $this->code_client = (string) $value; 42 $this->code_client = (string) $value;
43 return($this); 43 return $this;
44 } 44 }
45 public function setAdresse($value) 45 public function setAdresse($value)
46 { 46 {
47 $this->adresse = (string) $value; 47 $this->adresse = (string) $value;
48 return($this); 48 return $this;
49 } 49 }
50 public function setCodePostal($value) 50 public function setCodePostal($value)
51 { 51 {
52 $this->code_postal = (string) $value; 52 $this->code_postal = (string) $value;
53 return($this); 53 return $this;
54 } 54 }
55 public function setVille($value) 55 public function setVille($value)
56 { 56 {
57 $this->ville = (string) $value; 57 $this->ville = (string) $value;
58 return($this); 58 return $this;
59 } 59 }
60 60
61 public function setTelephone($value) // chaine parce que zenity renvoie une chaine et parce qu'on garde le 0 au début 61 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
69 $this->telephone = ''; 69 $this->telephone = '';
70 echo 'debug: le champ "telephone" ne doit comporter que des nombres, aucun numéro ne sera utilisé' . "\n"; 70 echo 'debug: le champ "telephone" ne doit comporter que des nombres, aucun numéro ne sera utilisé' . "\n";
71 } 71 }
72 return($this); 72 return $this;
73 } 73 }
74 public function setCourriel($value) 74 public function setCourriel($value)
75 { 75 {
76 $this->courriel = (string) $value; 76 $this->courriel = (string) $value;
77 return($this); 77 return $this;
78 } 78 }
79 public function setApropos($value) 79 public function setApropos($value)
80 { 80 {
81 $this->apropos = (string) $value; 81 $this->apropos = (string) $value;
82 return($this); 82 return $this;
83 } 83 }
84 84
85 85
@@ -106,6 +106,6 @@ class Clients extends Model
106 } 106 }
107 } 107 }
108 } 108 }
109 return($result); 109 return $result;
110 } 110 }
111} 111}