1 | <?php |
||
17 | class PictureFrameReader extends StreamContainer |
||
18 | { |
||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $encoding; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $mimeType; |
||
28 | |||
29 | /** |
||
30 | * @var int |
||
31 | */ |
||
32 | private $type; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | private $description; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | private $data; |
||
43 | |||
44 | /** |
||
45 | * Read encoding. |
||
46 | * |
||
47 | * @return int |
||
48 | */ |
||
49 | protected function readEncoding() |
||
55 | |||
56 | /** |
||
57 | * Get encoding. |
||
58 | * |
||
59 | * @return int |
||
60 | */ |
||
61 | public function getEncoding() |
||
69 | |||
70 | /** |
||
71 | * Read mime type. |
||
72 | * |
||
73 | * @return string |
||
74 | */ |
||
75 | protected function readMimeType() |
||
91 | |||
92 | /** |
||
93 | * Get mime type. |
||
94 | * |
||
95 | * @return string |
||
96 | */ |
||
97 | public function getMimeType() |
||
105 | |||
106 | /** |
||
107 | * Get type. |
||
108 | * |
||
109 | * @return int |
||
110 | */ |
||
111 | protected function readType() |
||
119 | |||
120 | /** |
||
121 | * Get type. |
||
122 | * |
||
123 | * @return int |
||
124 | */ |
||
125 | public function getType() |
||
133 | |||
134 | /** |
||
135 | * Read description. |
||
136 | * |
||
137 | * @return string |
||
138 | */ |
||
139 | protected function readDescription() |
||
157 | |||
158 | /** |
||
159 | * Get description. |
||
160 | * |
||
161 | * @return string |
||
162 | */ |
||
163 | public function getDescription() |
||
171 | |||
172 | /** |
||
173 | * Read data. |
||
174 | * |
||
175 | * @return string |
||
176 | */ |
||
177 | protected function readData() |
||
189 | |||
190 | /** |
||
191 | * Get data. |
||
192 | * |
||
193 | * @return string |
||
194 | */ |
||
195 | public function getData() |
||
203 | } |
||
204 |