-
Notifications
You must be signed in to change notification settings - Fork 0
/
utilisateur.php
58 lines (50 loc) · 1.01 KB
/
utilisateur.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
class utilisateur{
private $nom;
private $prenom;
private $dateNaissance;
private $sexe;
private $adresse;
private $pseudo;
private $motDePasse;
private $adresseMail;
private $bool;
function __construct($surname,$name, $date, $sexe,$adresse,$username,$passe,$email,$bool){
$this->nom=$surname;
$this->prenom=$name;
$this->dateNaissance=$date;
$this->sexe=$sexe;
$this->adresse=$adresse;
$this->pseudo=$username;
$this->motDePasse=sha1($passe);
$this->adresseMail=$email;
$this->bool=$bool;
}
function getNom(){
return $this->nom;
}
function getPrenom(){
return $this->prenom;
}
function getDateNaissance(){
return $this->dateNaissance;
}
function getSexe(){
return $this->sexe;
}
function getAdresse(){
return $this->adresse;
}
function getPseudo(){
return $this->pseudo;
}
function getPasse(){
return $this->motDePasse;
}
function getEmail(){
return $this->adresseMail;
}
function getBool(){
return $this->bool;
}
}