Subversion Repositories Applications.gtt

Rev

Rev 52 | Rev 61 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 54
Line 126... Line 126...
126
	{
126
	{
127
		return $this->nom;
127
		return $this->nom;
128
	}
128
	}
129
	public function setNom( $n )
129
	public function setNom( $n )
130
	{
130
	{
131
		$this->nom = $n;
131
		$this->nom = strtoupper($n);
132
	}
132
	}
Line 133... Line 133...
133
 
133
 
134
	// Prenom
134
	// Prenom
135
	public function getPrenom()
135
	public function getPrenom()
Line 146... Line 146...
146
	{
146
	{
147
		return $this->password;
147
		return $this->password;
148
	}
148
	}
149
	public function setPassword( $p )
149
	public function setPassword( $p )
150
	{
150
	{
151
		$this->password = $p;
151
		$this->password = md5($p);
152
	}
152
	}
Line 153... Line 153...
153
 
153
 
154
	// Email
154
	// Email
155
	public function getEmail()
155
	public function getEmail()
Line 166... Line 166...
166
	{
166
	{
167
		return $this->telephone;
167
		return $this->telephone;
168
	}
168
	}
169
	public function setTelephone( $t )
169
	public function setTelephone( $t )
170
	{
170
	{
171
		$this->telephone = $t;
171
		$this->telephone = (string) $t;
172
	}
172
	}
Line 173... Line 173...
173
 
173
 
174
	// Adresse
174
	// Adresse
175
	public function getAdresse()
175
	public function getAdresse()