table = strtolower(__CLASS__); // simple parce que la classe a le nom de la table } //~ public function set(string $variable, $value) //~ { //~ $this->$variable = $value; //~ return($this); //~ } // setters public function setID(int $value) // inutile? il s'autoincrémente { $this->ID = $value; return($this); } public function setPrenom_nom(string $value) { $this->prenom_nom = $value; return($this); } public function setAdresse(string $value) { $this->adresse = $value; return($this); } public function setCode_client(string $value) { $this->code_client = $value; return($this); } public function setCommentaires(string $value) { $this->commentaires = $value; return($this); } }