src/Service/Game.php 1 location
|
@@ 88-94 (lines=7) @@
|
85 |
|
return $path; |
86 |
|
} |
87 |
|
|
88 |
|
public function getGameUserMediaUrl($game, $user) |
89 |
|
{ |
90 |
|
$media_url = $this->getOptions()->getMediaUrl() . '/'; |
91 |
|
$media_url .= 'game' . $game->getId() . '/' . 'user'. $user->getId() . '/'; |
92 |
|
|
93 |
|
return $media_url; |
94 |
|
} |
95 |
|
|
96 |
|
/** |
97 |
|
* |
src/Service/PostVote.php 1 location
|
@@ 38-44 (lines=7) @@
|
35 |
|
return $path; |
36 |
|
} |
37 |
|
|
38 |
|
public function getMediaUrl($post) |
39 |
|
{ |
40 |
|
$media_url = $this->getOptions()->getMediaUrl() . '/'; |
41 |
|
$media_url .= 'game' . $post->getPostVote()->getId() . '/' . 'post'. $post->getId() . '/'; |
42 |
|
|
43 |
|
return $media_url; |
44 |
|
} |
45 |
|
|
46 |
|
/** |
47 |
|
* @param boolean $entry |