-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclass.DeveloperAccount.php
More file actions
36 lines (32 loc) · 971 Bytes
/
class.DeveloperAccount.php
File metadata and controls
36 lines (32 loc) · 971 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
<?php
require_once('class.UserAccount.php');
class DeveloperAccount extends UserAccount{
private $profession;
private $contactNum;
private $linkedin;
public function __construct($username,$useremail,$password,$usertype,$profession,$contactNum,$linkedin){
parent::__construct($username,$useremail,$password,$usertype);
$this->profession=$profession;
$this->contactNum=$contactNum;
$this->linkedin=$linkedin;
}
public function setProfession($profession){
$this->profession=$profession;
}
public function getProfession(){
return $this->profession;
}
public function setContactNum($contactNum){
$this->contactNum=$contactNum;
}
public function getContactNum(){
return $this->contactNum;
}
public function setLinkedIn($linkedin){
$this->linkedin=$linkedin;
}
public function getLinkedIn(){
return $this->linkedin;
}
}
?>