| Conditions | 5 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function __construct($id, $game_release_id, $type, $imgext, $notes) { |
||
| 16 | $this->id = $id; |
||
| 17 | $this->game_release_id = $game_release_id; |
||
| 18 | $this->type = $type; |
||
| 19 | $this->notes = $notes; |
||
| 20 | |||
| 21 | if ($imgext && $imgext !== "") { |
||
| 22 | $this->image = $GLOBALS['game_release_scan_path']."{$id}.{$imgext}"; |
||
| 23 | } |
||
| 24 | |||
| 25 | if ($imgext && $imgext !== "") { |
||
| 26 | $this->file = $GLOBALS['game_release_scan_save_path']."{$id}.{$imgext}"; |
||
| 27 | } |
||
| 50 |