/trunk/classes/metiers/Utilisateur.class.php |
---|
128,7 → 128,7 |
} |
public function setNom( $n ) |
{ |
$this->nom = $n; |
$this->nom = strtoupper($n); |
} |
// Prenom |
148,7 → 148,7 |
} |
public function setPassword( $p ) |
{ |
$this->password = $p; |
$this->password = md5($p); |
} |
168,7 → 168,7 |
} |
public function setTelephone( $t ) |
{ |
$this->telephone = $t; |
$this->telephone = (string) $t; |
} |
// Adresse |