1 | <?php |
||
31 | class TVShow extends Item implements TVShowInterface |
||
32 | { |
||
33 | |||
34 | use ElementTrait; |
||
35 | |||
36 | /** |
||
37 | * Constructor |
||
38 | * @param \vfalies\tmdb\Interfaces\TmdbInterface $tmdb |
||
39 | * @param int $tv_id |
||
40 | * @param array $options |
||
41 | */ |
||
42 | 34 | public function __construct(TmdbInterface $tmdb, $tv_id, array $options = array()) |
|
46 | |||
47 | /** |
||
48 | * Get TV show id |
||
49 | * @return int |
||
50 | */ |
||
51 | 1 | public function getId() |
|
55 | |||
56 | /** |
||
57 | * Get TVSHow genres |
||
58 | * @return array |
||
59 | */ |
||
60 | 2 | public function getGenres() |
|
68 | |||
69 | /** |
||
70 | * Get TVshow note |
||
71 | * @return float |
||
72 | */ |
||
73 | 2 | public function getNote() |
|
81 | |||
82 | /** |
||
83 | * Get TVshow number of episodes |
||
84 | * @return int |
||
85 | */ |
||
86 | 2 | public function getNumberEpisodes() |
|
94 | |||
95 | /** |
||
96 | * Get TVShow number of seasons |
||
97 | * @return int |
||
98 | */ |
||
99 | 2 | public function getNumberSeasons() |
|
107 | |||
108 | /** |
||
109 | * Get TVShow original title |
||
110 | * @return string |
||
111 | */ |
||
112 | 2 | public function getOriginalTitle() |
|
120 | |||
121 | /** |
||
122 | * Get TVShow overview |
||
123 | * @return string |
||
124 | */ |
||
125 | 2 | public function getOverview() |
|
133 | |||
134 | /** |
||
135 | * Get TVShow release date |
||
136 | * @return string |
||
137 | */ |
||
138 | 2 | public function getReleaseDate() |
|
146 | |||
147 | /** |
||
148 | * Get TVShow status |
||
149 | * @return string |
||
150 | */ |
||
151 | 2 | public function getStatus() |
|
159 | |||
160 | /** |
||
161 | * Get TVShow title |
||
162 | * @return string |
||
163 | */ |
||
164 | 2 | public function getTitle() |
|
172 | |||
173 | /** |
||
174 | * Get TVShow seasons |
||
175 | * @return \Generator|Results\TVSeason |
||
176 | */ |
||
177 | 6 | public function getSeasons() |
|
188 | |||
189 | /** |
||
190 | * Get TVShow networks |
||
191 | * @return \Generator|\stdClass |
||
192 | */ |
||
193 | 1 | public function getNetworks() |
|
207 | |||
208 | /** |
||
209 | * Backdrops list |
||
210 | * @return \Generator|Results\Image |
||
211 | */ |
||
212 | 1 | public function getBackdrops() |
|
222 | |||
223 | /** |
||
224 | * Posters list |
||
225 | * @return \Generator|Results\Image |
||
226 | */ |
||
227 | 1 | public function getPosters() |
|
237 | |||
238 | /** |
||
239 | * Get Similar TVShow |
||
240 | * @return \Generator|Results\TVShow |
||
241 | */ |
||
242 | 1 | public function getSimilar() |
|
252 | } |
||
253 |