| Total Complexity | 7 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class GameReview { |
||
| 10 | private $id; |
||
| 11 | private $text; |
||
| 12 | private $date; |
||
| 13 | private $user; |
||
| 14 | private $game_name; |
||
| 15 | |||
| 16 | public function __construct($id, $text, $date, $user, $game_name) { |
||
| 17 | $this->id = $id; |
||
| 18 | $this->text = $text; |
||
| 19 | $this->date = $date; |
||
| 20 | $this->user = $user; |
||
| 21 | $this->game_name = $game_name; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getId() { |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getText() { |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getDate() { |
||
| 33 | return $this->date; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getUser() { |
||
| 37 | return $this->user; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getGameName() { |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string The HTML text for the frontpage |
||
| 46 | */ |
||
| 47 | public function getFrontPageHtml() { |
||
| 53 | } |
||
| 54 | } |
||
| 55 |