Stats
This commit is contained in:
1 parent
4f8a382b51
commit
0b4efeb2ed
7 files changed
+622
-412
No files matched your search
@@ -53,4 +53,10 @@ class Film extends Eloquent {
|
||||
|
||||
}
|
||||
|
||||
public function getPoster() {
|
||||
$tmdb = new TMDb(Config::get('constants.tvdb.apikey'), 'de', TRUE);
|
||||
$tmovie = $tmdb->getMovie($this->tvdbid);
|
||||
return $tmdb->getImageUrl($tmovie['poster_path'], TMDb::IMAGE_POSTER, 'w342');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user