-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUser.php
More file actions
45 lines (36 loc) · 812 Bytes
/
Copy pathUser.php
File metadata and controls
45 lines (36 loc) · 812 Bytes
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
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of User
*
* @author Brad
*/
class User {
protected $username;
protected $usertype;
protected $email;
public function getUserName(){
return $this->username;
}
public function setUserName($newname){
$this->username = $newname;
return 1;
}
public function getUserType(){
return $this->usertype;
}
public function setUserType($type){
$this->usertype = $type;
return 1;
}
public function setEmail($email){
$this->email = $email;
}
public function getEmail(){
return $this->email;
}
}
?>