-
Notifications
You must be signed in to change notification settings - Fork 0
/
Student.php
41 lines (32 loc) · 685 Bytes
/
Student.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
<?php
class Student {
private $ID;
private $name;
private $username;
private $password;
public function __getName(){
return $this->$name;
}
public function __getID(){
return $this->$ID;
}
public function __getUsername(){
return $this->$username;
}
public function __getPassword(){
return $this->$password;
}
public function __setName($name){
$this->$name = $name;
}
public function __setID($id){
$this->$ID = $id;
}
public function __setUsername($username){
$this->$username = $username;
}
public function __setPassword($password){
$this->$password = $password;
}
}
?>