1 | <?php |
||
10 | class Item |
||
11 | { |
||
12 | |||
13 | private $tmdb = null; |
||
14 | private $logger = null; |
||
15 | |||
16 | /** |
||
17 | * Constructor |
||
18 | * @param \vfalies\tmdb\Tmdb $tmdb |
||
19 | */ |
||
20 | |||
21 | 4 | public function __construct(Tmdb $tmdb) |
|
26 | |||
27 | /** |
||
28 | * Get movie details |
||
29 | * @param int $movie_id |
||
30 | * @param array $options |
||
31 | * @return \vfalies\tmdb\Items\Movie |
||
32 | */ |
||
33 | 1 | public function getMovie($movie_id, array $options = array()) |
|
40 | |||
41 | /** |
||
42 | * Get collection details |
||
43 | * @param int $collection_id |
||
44 | * @param array $options |
||
45 | * @return \vfalies\tmdb\Items\Collection |
||
46 | */ |
||
47 | 1 | public function getCollection($collection_id, array $options = array()) |
|
54 | |||
55 | /** |
||
56 | * Get TV Show details |
||
57 | * @param int $tv_id |
||
58 | * @param array $options |
||
59 | * @return \vfalies\tmdb\Items\TVShow |
||
60 | */ |
||
61 | 1 | public function getTVShow($tv_id, array $options = array()) |
|
68 | |||
69 | /** |
||
70 | * Get People details |
||
71 | * @param int $people_id |
||
72 | * @param array $options |
||
73 | * @return \vfalies\tmdb\Items\People |
||
74 | */ |
||
75 | 1 | public function getPeople($people_id, array $options = array()) |
|
82 | |||
83 | } |
||
84 |