1 | <?php |
||
11 | class Item |
||
12 | { |
||
13 | |||
14 | private $tmdb = null; |
||
15 | private $logger = null; |
||
16 | |||
17 | /** |
||
18 | * Constructor |
||
19 | * @param \vfalies\tmdb\Tmdb $tmdb |
||
20 | */ |
||
21 | |||
22 | 5 | public function __construct(Tmdb $tmdb) |
|
27 | |||
28 | /** |
||
29 | * Get movie details |
||
30 | * @param int $movie_id |
||
31 | * @param array $options |
||
32 | * @return \vfalies\tmdb\Items\Movie |
||
33 | */ |
||
34 | 1 | public function getMovie($movie_id, array $options = array()) |
|
41 | |||
42 | /** |
||
43 | * Get collection details |
||
44 | * @param int $collection_id |
||
45 | * @param array $options |
||
46 | * @return \vfalies\tmdb\Items\Collection |
||
47 | */ |
||
48 | 1 | public function getCollection($collection_id, array $options = array()) |
|
55 | |||
56 | /** |
||
57 | * Get TV Show details |
||
58 | * @param int $tv_id |
||
59 | * @param array $options |
||
60 | * @return \vfalies\tmdb\Items\TVShow |
||
61 | */ |
||
62 | 1 | public function getTVShow($tv_id, array $options = array()) |
|
69 | |||
70 | /** |
||
71 | * Get People details |
||
72 | * @param int $people_id |
||
73 | * @param array $options |
||
74 | * @return \vfalies\tmdb\Items\People |
||
75 | */ |
||
76 | 1 | public function getPeople($people_id, array $options = array()) |
|
83 | |||
84 | /** |
||
85 | * Get Company details |
||
86 | * @param int $company_id |
||
87 | * @param array $options |
||
88 | * @return \vfalies\tmdb\Items\Company |
||
89 | */ |
||
90 | 1 | public function getCompany($company_id, array $options = array()) |
|
97 | } |
||
98 |