1 | <?php |
||
5 | class Movie extends Item implements \vfalies\tmdb\Interfaces\MovieInterface |
||
6 | { |
||
7 | |||
8 | protected $tmdb = null; |
||
9 | protected $conf = null; |
||
10 | protected $data = null; |
||
11 | protected $id = null; |
||
12 | |||
13 | /** |
||
14 | * Constructor |
||
15 | * @param \vfalies\tmdb\Tmdb $tmdb |
||
16 | * @param int $movie_id |
||
17 | * @param array $options |
||
18 | * @throws Exception |
||
19 | */ |
||
20 | 28 | public function __construct(\vfalies\tmdb\Tmdb $tmdb, int $movie_id, array $options = array()) |
|
24 | |||
25 | /** |
||
26 | * Get movie genres |
||
27 | * @return array |
||
28 | */ |
||
29 | 2 | public function getGenres(): array |
|
37 | |||
38 | /** |
||
39 | * Get movie title |
||
40 | * @return string |
||
41 | */ |
||
42 | 2 | public function getTitle(): string |
|
50 | |||
51 | /** |
||
52 | * Get movie overview |
||
53 | * @return string |
||
54 | */ |
||
55 | 2 | public function getOverview(): string |
|
63 | |||
64 | /** |
||
65 | * Get movie release date |
||
66 | * @return string |
||
67 | */ |
||
68 | 2 | public function getReleaseDate(): string |
|
76 | |||
77 | /** |
||
78 | * Get movie original title |
||
79 | * @return string |
||
80 | */ |
||
81 | 2 | public function getOriginalTitle(): string |
|
89 | |||
90 | /** |
||
91 | * Get movie note |
||
92 | * @return float |
||
93 | */ |
||
94 | 2 | public function getNote(): float |
|
102 | |||
103 | /** |
||
104 | * Get movie id |
||
105 | * @return int |
||
106 | */ |
||
107 | 1 | public function getId(): int |
|
111 | |||
112 | /** |
||
113 | * Get IMDB movie id |
||
114 | * @return string |
||
115 | */ |
||
116 | 2 | public function getIMDBId(): string |
|
124 | |||
125 | /** |
||
126 | * Get movie tagline |
||
127 | * @return string |
||
128 | */ |
||
129 | 2 | public function getTagLine(): string |
|
137 | |||
138 | /** |
||
139 | * Get collection id |
||
140 | * @return int |
||
141 | */ |
||
142 | 2 | public function getCollectionId(): int |
|
150 | |||
151 | } |
||
152 |