1 | <?php |
||
32 | class Movie extends Item implements MovieInterface |
||
33 | { |
||
34 | |||
35 | use ElementTrait; |
||
36 | |||
37 | /** |
||
38 | * Constructor |
||
39 | * @param \vfalies\tmdb\Interfaces\TmdbInterface $tmdb |
||
40 | * @param int $movie_id |
||
41 | * @param array $options |
||
42 | */ |
||
43 | 39 | public function __construct(TmdbInterface $tmdb, $movie_id, array $options = array()) |
|
47 | |||
48 | /** |
||
49 | * Get movie genres |
||
50 | * @return array |
||
51 | */ |
||
52 | 2 | public function getGenres() |
|
60 | |||
61 | /** |
||
62 | * Get movie title |
||
63 | * @return string |
||
64 | */ |
||
65 | 2 | public function getTitle() |
|
73 | |||
74 | /** |
||
75 | * Get movie overview |
||
76 | * @return string |
||
77 | */ |
||
78 | 2 | public function getOverview() |
|
86 | |||
87 | /** |
||
88 | * Get movie release date |
||
89 | * @return string |
||
90 | */ |
||
91 | 2 | public function getReleaseDate() |
|
99 | |||
100 | /** |
||
101 | * Get movie original title |
||
102 | * @return string |
||
103 | */ |
||
104 | 2 | public function getOriginalTitle() |
|
112 | |||
113 | /** |
||
114 | * Get movie note |
||
115 | * @return float |
||
116 | */ |
||
117 | 2 | public function getNote() |
|
125 | |||
126 | /** |
||
127 | * Get movie id |
||
128 | * @return int |
||
129 | */ |
||
130 | 1 | public function getId() |
|
134 | |||
135 | /** |
||
136 | * Get IMDB movie id |
||
137 | * @return string |
||
138 | */ |
||
139 | 2 | public function getIMDBId() |
|
147 | |||
148 | /** |
||
149 | * Get movie tagline |
||
150 | * @return string |
||
151 | */ |
||
152 | 2 | public function getTagLine() |
|
160 | |||
161 | /** |
||
162 | * Get collection id |
||
163 | * @return int |
||
164 | */ |
||
165 | 2 | public function getCollectionId() |
|
173 | |||
174 | /** |
||
175 | * Get movie crew |
||
176 | * @return \Generator|Results\Crew |
||
177 | */ |
||
178 | 1 | public function getCrew() |
|
183 | |||
184 | /** |
||
185 | * Get movie cast |
||
186 | * @return \Generator|Results\Cast |
||
187 | */ |
||
188 | 9 | public function getCast() |
|
193 | |||
194 | /** |
||
195 | * Get production compagnies |
||
196 | * @return \Generator|stdClass |
||
197 | */ |
||
198 | 1 | public function getProductionCompanies() |
|
212 | |||
213 | /** |
||
214 | * Get production countries |
||
215 | * @return \Generator|stdClass |
||
216 | */ |
||
217 | 1 | public function getProductionCountries() |
|
231 | |||
232 | /** |
||
233 | * Get image backdrops list |
||
234 | * @return \Generator|Results\Image |
||
235 | */ |
||
236 | 1 | public function getBackdrops() |
|
246 | |||
247 | /** |
||
248 | * Get image posters list |
||
249 | * @return \Generator|Results\Image |
||
250 | */ |
||
251 | 1 | public function getPosters() |
|
261 | |||
262 | /** |
||
263 | * Get similar movies from current movie |
||
264 | * @return \Generator|Results\Movie |
||
265 | */ |
||
266 | 1 | public function getSimilar() |
|
276 | } |
||
277 |