Total Complexity | 7 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class PubDev { |
||
8 | private $id; |
||
9 | private $name; |
||
10 | private $profile; |
||
11 | private $image; |
||
12 | |||
13 | public function __construct($id, $name, $profile, $imageext) { |
||
14 | $this->id = $id; |
||
15 | $this->name = $name; |
||
16 | |||
17 | if ($profile != '') { |
||
18 | $this->profile = $profile; |
||
19 | } |
||
20 | |||
21 | if ($imageext != null) { |
||
22 | $this->image = $GLOBALS['company_screenshot_path'].'/'.$id.'.'.$imageext; |
||
23 | } |
||
24 | } |
||
25 | |||
26 | public function getId() { |
||
27 | return $this->id; |
||
28 | } |
||
29 | |||
30 | public function getName() { |
||
32 | } |
||
33 | |||
34 | public function getProfile() { |
||
35 | return $this->profile; |
||
36 | } |
||
37 | |||
38 | public function getImage() { |
||
40 | } |
||
41 | } |
||
42 |