MediaWiki  master
MimeMap.php
Go to the documentation of this file.
1 <?php
21 namespace Wikimedia\Mime;
22 
29 class MimeMap {
31  public const MIME_EXTENSIONS = [
32  'application/ogg' => [ 'ogx', 'ogg', 'ogm', 'ogv', 'oga', 'spx', 'opus' ],
33  'application/pdf' => [ 'pdf' ],
34  'application/vnd.ms-opentype' => [ 'otf' ],
35  'application/vnd.oasis.opendocument.chart' => [ 'odc' ],
36  'application/vnd.oasis.opendocument.chart-template' => [ 'otc' ],
37  'application/vnd.oasis.opendocument.database' => [ 'odb' ],
38  'application/vnd.oasis.opendocument.formula' => [ 'odf' ],
39  'application/vnd.oasis.opendocument.formula-template' => [ 'otf' ],
40  'application/vnd.oasis.opendocument.graphics' => [ 'odg' ],
41  'application/vnd.oasis.opendocument.graphics-template' => [ 'otg' ],
42  'application/vnd.oasis.opendocument.image' => [ 'odi' ],
43  'application/vnd.oasis.opendocument.image-template' => [ 'oti' ],
44  'application/vnd.oasis.opendocument.presentation' => [ 'odp' ],
45  'application/vnd.oasis.opendocument.presentation-template' => [ 'otp' ],
46  'application/vnd.oasis.opendocument.spreadsheet' => [ 'ods' ],
47  'application/vnd.oasis.opendocument.spreadsheet-template' => [ 'ots' ],
48  'application/vnd.oasis.opendocument.text' => [ 'odt' ],
49  'application/vnd.oasis.opendocument.text-master' => [ 'otm', 'odm' ],
50  'application/vnd.oasis.opendocument.text-template' => [ 'ott' ],
51  'application/vnd.oasis.opendocument.text-web' => [ 'oth' ],
52  'application/javascript' => [ 'js' ],
53  'application/x-shockwave-flash' => [ 'swf' ],
54  'audio/midi' => [ 'mid', 'midi', 'kar' ],
55  'audio/mpeg' => [ 'mpga', 'mpa', 'mp2', 'mp3' ],
56  'audio/x-aiff' => [ 'aif', 'aiff', 'aifc' ],
57  'audio/x-wav' => [ 'wav' ],
58  'audio/ogg' => [ 'oga', 'spx', 'ogg', 'opus' ],
59  'audio/opus' => [ 'opus', 'ogg', 'oga', 'spx' ],
60  'image/x-bmp' => [ 'bmp' ],
61  'image/gif' => [ 'gif' ],
62  'image/jpeg' => [ 'jpeg', 'jpg', 'jpe', 'jps' ],
63  'image/png' => [ 'png', 'apng' ],
64  'image/svg+xml' => [ 'svg' ],
65  'image/svg' => [ 'svg' ],
66  'image/tiff' => [ 'tiff', 'tif' ],
67  'image/vnd.djvu' => [ 'djvu', 'djv' ],
68  'image/x.djvu' => [ 'djvu' ],
69  'image/x-djvu' => [ 'djvu' ],
70  'image/x-portable-pixmap' => [ 'ppm' ],
71  'image/x-xcf' => [ 'xcf' ],
72  'text/plain' => [ 'txt' ],
73  'text/html' => [ 'html', 'htm' ],
74  'video/ogg' => [ 'ogv', 'ogm', 'ogg' ],
75  'video/mpeg' => [ 'mpg', 'mpeg', 'mpe' ],
76  'application/acad' => [ 'dwg' ],
77  'application/andrew-inset' => [ 'ez' ],
78  'application/mac-binhex40' => [ 'hqx' ],
79  'application/mac-compactpro' => [ 'cpt' ],
80  'application/mathml+xml' => [ 'mathml' ],
81  'application/msword' => [ 'doc', 'dot' ],
82  'application/octet-stream' => [ 'bin', 'dms', 'lha', 'lzh', 'exe', 'class', 'so', 'dll' ],
83  'application/oda' => [ 'oda' ],
84  'application/postscript' => [ 'ai', 'eps', 'ps' ],
85  'application/rdf+xml' => [ 'rdf' ],
86  'application/smil' => [ 'smi', 'smil' ],
87  'application/srgs' => [ 'gram' ],
88  'application/srgs+xml' => [ 'grxml' ],
89  'application/vnd.mif' => [ 'mif' ],
90  'application/vnd.ms-excel' => [ 'xls', 'xlt', 'xla' ],
91  'application/vnd.ms-powerpoint' => [ 'ppt', 'pot', 'pps', 'ppa' ],
92  'application/vnd.wap.wbxml' => [ 'wbxml' ],
93  'application/vnd.wap.wmlc' => [ 'wmlc' ],
94  'application/vnd.wap.wmlscriptc' => [ 'wmlsc' ],
95  'application/voicexml+xml' => [ 'vxml' ],
96  'application/x-7z-compressed' => [ '7z' ],
97  'application/x-bcpio' => [ 'bcpio' ],
98  'application/x-bzip' => [ 'bz' ],
99  'application/x-bzip2' => [ 'bz2' ],
100  'application/x-cdlink' => [ 'vcd' ],
101  'application/x-chess-pgn' => [ 'pgn' ],
102  'application/x-cpio' => [ 'cpio' ],
103  'application/x-csh' => [ 'csh' ],
104  'application/x-dia-diagram' => [ 'dia' ],
105  'application/x-director' => [ 'dcr', 'dir', 'dxr' ],
106  'application/x-dvi' => [ 'dvi' ],
107  'application/x-futuresplash' => [ 'spl' ],
108  'application/x-gtar' => [ 'gtar', 'tar' ],
109  'application/x-gzip' => [ 'gz' ],
110  'application/x-hdf' => [ 'hdf' ],
111  'application/x-jar' => [ 'jar' ],
112  'application/json' => [ 'json' ],
113  'application/x-koan' => [ 'skp', 'skd', 'skt', 'skm' ],
114  'application/x-latex' => [ 'latex' ],
115  'application/x-netcdf' => [ 'nc', 'cdf' ],
116  'application/x-sh' => [ 'sh' ],
117  'application/x-shar' => [ 'shar' ],
118  'application/x-stuffit' => [ 'sit' ],
119  'application/x-sv4cpio' => [ 'sv4cpio' ],
120  'application/x-sv4crc' => [ 'sv4crc' ],
121  'application/x-tar' => [ 'tar' ],
122  'application/x-tcl' => [ 'tcl' ],
123  'application/x-tex' => [ 'tex' ],
124  'application/x-texinfo' => [ 'texinfo', 'texi' ],
125  'application/x-troff' => [ 't', 'tr', 'roff' ],
126  'application/x-troff-man' => [ 'man' ],
127  'application/x-troff-me' => [ 'me' ],
128  'application/x-troff-ms' => [ 'ms' ],
129  'application/x-ustar' => [ 'ustar' ],
130  'application/x-wais-source' => [ 'src' ],
131  'application/x-xpinstall' => [ 'xpi' ],
132  'application/xhtml+xml' => [ 'xhtml', 'xht' ],
133  'application/xslt+xml' => [ 'xslt' ],
134  'application/xml' => [ 'xml', 'xsl', 'xsd', 'kml' ],
135  'application/xml-dtd' => [ 'dtd' ],
136  'application/zip' =>
137  [ 'zip', 'jar', 'xpi', 'sxc', 'stc', 'sxd', 'std', 'sxi', 'sti', 'sxm', 'stm', 'sxw', 'stw' ],
138  'application/x-rar' => [ 'rar' ],
139  'application/font-sfnt' => [ 'ttf' ],
140  'application/font-woff' => [ 'woff' ],
141  'application/font-woff2' => [ 'woff2' ],
142  'application/vnd.ms-fontobject' => [ 'eot' ],
143  'application/x-font-ttf' => [ 'ttf' ],
144  'audio/basic' => [ 'au', 'snd' ],
145  'video/webm' => [ 'webm' ],
146  'audio/webm' => [ 'webm' ],
147  'audio/x-matroska' => [ 'mka', 'mkv' ],
148  'audio/x-mpegurl' => [ 'm3u' ],
149  'audio/x-ogg' => [ 'oga', 'ogg', 'spx', 'opus' ],
150  'audio/x-pn-realaudio' => [ 'ram', 'rm' ],
151  'audio/x-pn-realaudio-plugin' => [ 'rpm' ],
152  'audio/x-realaudio' => [ 'ra' ],
153  'audio/wav' => [ 'wav' ],
154  'audio/x-flac' => [ 'flac' ],
155  'audio/flac' => [ 'flac' ],
156  'chemical/x-pdb' => [ 'pdb' ],
157  'chemical/x-xyz' => [ 'xyz' ],
158  'image/bmp' => [ 'bmp' ],
159  'image/cgm' => [ 'cgm' ],
160  'image/ief' => [ 'ief' ],
161  'image/jp2' => [ 'jp2', 'j2k', 'jpg2' ],
162  'image/jpx' => [ 'jpf', 'jpx' ],
163  'image/vnd.microsoft.icon' => [ 'ico' ],
164  'image/vnd.wap.wbmp' => [ 'wbmp' ],
165  'image/webp' => [ 'webp' ],
166  'image/x-cmu-raster' => [ 'ras' ],
167  'image/x-icon' => [ 'ico' ],
168  'image/x-jps' => [ 'jps' ],
169  'image/x-ms-bmp' => [ 'bmp' ],
170  'image/x-portable-anymap' => [ 'pnm' ],
171  'image/x-portable-bitmap' => [ 'pbm' ],
172  'image/x-portable-graymap' => [ 'pgm' ],
173  'image/x-rgb' => [ 'rgb' ],
174  'image/x-photoshop' => [ 'psd' ],
175  'image/x-xbitmap' => [ 'xbm' ],
176  'image/x-xpixmap' => [ 'xpm' ],
177  'image/x-xwindowdump' => [ 'xwd' ],
178  'model/iges' => [ 'igs', 'iges' ],
179  'model/mesh' => [ 'msh', 'mesh', 'silo' ],
180  'model/vrml' => [ 'wrl', 'vrml' ],
181  'text/calendar' => [ 'ics', 'ifb' ],
182  'text/css' => [ 'css' ],
183  'text/csv' => [ 'csv' ],
184  'text/richtext' => [ 'rtx' ],
185  'text/rtf' => [ 'rtf' ],
186  'text/sgml' => [ 'sgml', 'sgm' ],
187  'text/tab-separated-values' => [ 'tsv' ],
188  'text/vnd.wap.wml' => [ 'wml' ],
189  'text/vnd.wap.wmlscript' => [ 'wmls' ],
190  'text/xml' => [ 'xml', 'xsl', 'xslt', 'rss', 'rdf' ],
191  'text/x-component' => [ 'htc' ],
192  'text/x-setext' => [ 'etx' ],
193  'text/x-sawfish' => [ 'jl' ],
194  'video/mp4' => [ 'mp4', 'm4a', 'm4p', 'm4b', 'm4r', 'm4v' ],
195  'audio/mp4' => [ 'm4a' ],
196  'video/quicktime' => [ 'qt', 'mov' ],
197  'video/vnd.mpegurl' => [ 'mxu' ],
198  'video/x-flv' => [ 'flv' ],
199  'video/x-matroska' => [ 'mkv', 'mka' ],
200  'video/x-msvideo' => [ 'avi' ],
201  'video/x-ogg' => [ 'ogv', 'ogm', 'ogg' ],
202  'video/x-sgi-movie' => [ 'movie' ],
203  'x-conference/x-cooltalk' => [ 'ice' ],
204  'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => [ 'docx' ],
205  'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => [ 'dotx' ],
206  'application/vnd.ms-word.document.macroenabled.12' => [ 'docm' ],
207  'application/vnd.ms-word.template.macroenabled.12' => [ 'dotm' ],
208  'application/vnd.openxmlformats-officedocument.presentationml.template' => [ 'potx' ],
209  'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => [ 'ppsx' ],
210  'application/vnd.openxmlformats-officedocument.presentationml.presentation' => [ 'pptx' ],
211  'application/vnd.ms-powerpoint.addin.macroenabled.12' => [ 'ppam' ],
212  'application/vnd.ms-powerpoint.presentation.macroenabled.12' => [ 'pptm', 'potm' ],
213  'application/vnd.ms-powerpoint.slideshow.macroenabled.12' => [ 'ppsm' ],
214  'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => [ 'xlsx' ],
215  'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => [ 'xltx' ],
216  'application/vnd.ms-excel.sheet.macroenabled.12' => [ 'xlsm' ],
217  'application/vnd.ms-excel.template.macroenabled.12' => [ 'xltm' ],
218  'application/vnd.ms-excel.addin.macroenabled.12' => [ 'xlam' ],
219  'application/vnd.ms-excel.sheet.binary.macroenabled.12' => [ 'xlsb' ],
220  'model/vnd.dwfx+xps' => [ 'dwfx' ],
221  'application/vnd.ms-xpsdocument' => [ 'xps' ],
222  'chemical/x-mdl-molfile' => [ 'mol' ],
223  'chemical/x-mdl-sdfile' => [ 'sdf' ],
224  'chemical/x-mdl-rxnfile' => [ 'rxn' ],
225  'chemical/x-mdl-rdfile' => [ 'rd' ],
226  'chemical/x-mdl-rgfile' => [ 'rg' ],
227  'application/x-amf' => [ 'amf' ],
228  'application/sla' => [ 'stl' ],
229  'application/wasm' => [ 'wasm' ],
230 
231  // Vague pseudo-types should be at the end so that they don't take
232  // precedence over the more specific types above in getMimeTypesFromExtension()
233  'application/x-opc+zip' => [
234  'docx', 'dotx', 'docm', 'dotm', 'potx', 'ppsx', 'pptx', 'ppam', 'pptm', 'potm', 'ppsm',
235  'xlsx', 'xltx', 'xlsm', 'xltm', 'xlam', 'xlsb', 'dwfx', 'xps'
236  ],
237  'application/vnd.oasis.opendocument' => [
238  'odt', 'ott', 'odg', 'otg', 'odp', 'otp', 'ods', 'ots', 'odc', 'otc',
239  'odi', 'oti', 'odf', 'otf', 'odm', 'oth',
240  ]
241  ];
242 
244  public const MEDIA_TYPES = [
245  MEDIATYPE_OFFICE => [
246  'application/pdf',
247  'application/vnd.oasis.opendocument.chart',
248  'application/vnd.oasis.opendocument.chart-template',
249  'application/vnd.oasis.opendocument.database',
250  'application/vnd.oasis.opendocument.formula',
251  'application/vnd.oasis.opendocument.formula-template',
252  'application/vnd.oasis.opendocument.graphics',
253  'application/vnd.oasis.opendocument.graphics-template',
254  'application/vnd.oasis.opendocument.image',
255  'application/vnd.oasis.opendocument.image-template',
256  'application/vnd.oasis.opendocument.presentation',
257  'application/vnd.oasis.opendocument.presentation-template',
258  'application/vnd.oasis.opendocument.spreadsheet',
259  'application/vnd.oasis.opendocument.spreadsheet-template',
260  'application/vnd.oasis.opendocument.text',
261  'application/vnd.oasis.opendocument.text-template',
262  'application/vnd.oasis.opendocument.text-master',
263  'application/vnd.oasis.opendocument.text-web',
264  'application/pdf',
265  'application/acrobat',
266  'application/msword',
267  'application/vnd.ms-excel',
268  'application/vnd.ms-powerpoint',
269  'application/x-director',
270  'image/vnd.djvu',
271  'image/x.djvu',
272  'image/x-djvu',
273  'text/rtf',
274  'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
275  'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
276  'application/vnd.ms-word.document.macroenabled.12',
277  'application/vnd.ms-word.template.macroenabled.12',
278  'application/vnd.openxmlformats-officedocument.presentationml.template',
279  'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
280  'application/vnd.openxmlformats-officedocument.presentationml.presentation',
281  'application/vnd.ms-powerpoint.addin.macroenabled.12',
282  'application/vnd.ms-powerpoint.presentation.macroenabled.12',
283  'application/vnd.ms-powerpoint.presentation.macroenabled.12',
284  'application/vnd.ms-powerpoint.slideshow.macroenabled.12',
285  'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
286  'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
287  'application/vnd.ms-excel.sheet.macroenabled.12',
288  'application/vnd.ms-excel.template.macroenabled.12',
289  'application/vnd.ms-excel.addin.macroenabled.12',
290  'application/vnd.ms-excel.sheet.binary.macroenabled.12',
291  ],
293  'application/javascript',
294  'text/javascript',
295  'application/x-javascript',
296  'application/javascript',
297  'text/javascript',
298  'application/x-javascript',
299  'application/x-ecmascript',
300  'text/ecmascript',
301  'application/x-bash',
302  'application/x-sh',
303  'application/x-csh',
304  'application/x-tcsh',
305  'application/x-tcl',
306  'application/x-perl',
307  'application/x-python',
308  'application/wasm',
309  ],
311  'application/x-shockwave-flash',
312  'application/ogg',
313  'audio/ogg',
314  'video/ogg',
315  'application/ogg',
316  'application/x-ogg',
317  'audio/ogg',
318  'audio/x-ogg',
319  'video/ogg',
320  'video/x-ogg',
321  'application/x-shockwave-flash',
322  'audio/x-pn-realaudio-plugin',
323  'model/iges',
324  'model/mesh',
325  'model/vrml',
326  'video/quicktime',
327  'video/x-msvideo',
328  ],
329  MEDIATYPE_AUDIO => [
330  'audio/midi',
331  'audio/x-aiff',
332  'audio/x-wav',
333  'audio/mp3',
334  'audio/mpeg',
335  'audio/mpeg',
336  'audio/mp3',
337  'audio/mpeg3',
338  'audio/mp4',
339  'audio/wav',
340  'audio/x-wav',
341  'audio/wave',
342  'audio/midi',
343  'audio/mid',
344  'audio/basic',
345  'audio/ogg',
346  'audio/opus',
347  'audio/x-aiff',
348  'audio/x-pn-realaudio',
349  'audio/x-realaudio',
350  'audio/webm',
351  'audio/x-matroska',
352  'audio/x-flac',
353  'audio/flac',
354  ],
355  MEDIATYPE_BITMAP => [
356  'image/x-bmp',
357  'image/x-ms-bmp',
358  'image/bmp',
359  'image/gif',
360  'image/jpeg',
361  'image/png',
362  'image/tiff',
363  'image/vnd.djvu',
364  'image/x-xcf',
365  'image/x-portable-pixmap',
366  'image/gif',
367  'image/png',
368  'image/x-png',
369  'image/ief',
370  'image/jpeg',
371  'image/x-jps',
372  'image/pjpeg',
373  'image/jp2',
374  'image/jpx',
375  'image/xbm',
376  'image/tiff',
377  'image/x-icon',
378  'image/x-ico',
379  'image/vnd.microsoft.icon',
380  'image/x-rgb',
381  'image/x-portable-pixmap',
382  'image/x-portable-graymap',
383  'image/x-portable-greymap',
384  'image/x-bmp',
385  'image/x-ms-bmp',
386  'image/bmp',
387  'application/x-bmp',
388  'application/bmp',
389  'image/x-photoshop',
390  'image/psd',
391  'image/x-psd',
392  'image/photoshop',
393  'image/vnd.adobe.photoshop',
394  'image/webp',
395  ],
396  MEDIATYPE_DRAWING => [
397  'image/svg+xml',
398  'image/svg+xml',
399  'application/svg+xml',
400  'application/svg',
401  'image/svg',
402  'application/postscript',
403  'application/x-latex',
404  'application/x-tex',
405  'application/x-dia-diagram',
406  'application/acad',
407  'application/x-acad',
408  'application/autocad_dwg',
409  'image/x-dwg',
410  'application/dwg',
411  'application/x-dwg',
412  'application/x-autocad',
413  'image/vnd.dwg',
414  'drawing/dwg',
415  'chemical/x-mdl-molfile',
416  'chemical/x-mdl-sdfile',
417  'chemical/x-mdl-rxnfile',
418  'chemical/x-mdl-rdfile',
419  'chemical/x-mdl-rgfile',
420  ],
421  MEDIATYPE_TEXT => [
422  'text/plain',
423  'text/html',
424  'text/plain',
425  'text/html',
426  'application/xhtml+xml',
427  'application/xml',
428  'text/xml',
429  'text',
430  'application/json',
431  'text/csv',
432  'text/tab-separated-values',
433  ],
434  MEDIATYPE_VIDEO => [
435  'video/ogg',
436  'video/mpeg',
437  'video/mpeg',
438  'application/mpeg',
439  'video/ogg',
440  'video/x-sgi-video',
441  'video/x-flv',
442  'video/webm',
443  'video/x-matroska',
444  'video/mp4',
445  ],
446  MEDIATYPE_UNKNOWN => [
447  'unknown/unknown',
448  'application/octet-stream',
449  'application/x-empty',
450  ],
451  MEDIATYPE_ARCHIVE => [
452  'application/zip',
453  'application/x-zip',
454  'application/x-gzip',
455  'application/x-bzip',
456  'application/x-bzip2',
457  'application/x-tar',
458  'application/x-stuffit',
459  'application/x-opc+zip',
460  'application/x-7z-compressed',
461  ],
462  MEDIATYPE_3D => [
463  'application/sla',
464  ],
465  ];
466 
468  public const MIME_TYPE_ALIASES = [
469  'text/javascript' => 'application/javascript',
470  'application/x-javascript' => 'application/javascript',
471  'audio/mpeg' => 'audio/mp3',
472  'audio/ogg' => 'application/ogg',
473  'video/ogg' => 'application/ogg',
474  'image/x-ms-bmp' => 'image/x-bmp',
475  'image/bmp' => 'image/x-bmp',
476  'application/octet-stream' => 'unknown/unknown',
477  'application/x-empty' => 'unknown/unknown',
478  'image/x-png' => 'image/png',
479  'image/pjpeg' => 'image/jpeg',
480  'image/x-ico' => 'image/x-icon',
481  'image/vnd.microsoft.icon' => 'image/x-icon',
482  'image/x-portable-greymap' => 'image/x-portable-graymap',
483  'application/x-bmp' => 'image/x-bmp',
484  'application/bmp' => 'image/x-bmp',
485  'image/psd' => 'image/x-photoshop',
486  'image/x-psd' => 'image/x-photoshop',
487  'image/photoshop' => 'image/x-photoshop',
488  'image/vnd.adobe.photoshop' => 'image/x-photoshop',
489  'application/svg+xml' => 'image/svg+xml',
490  'application/svg' => 'image/svg+xml',
491  'image/svg' => 'image/svg+xml',
492  'audio/mp3' => 'audio/mpeg',
493  'audio/mpeg3' => 'audio/mpeg',
494  'audio/x-wav' => 'audio/wav',
495  'audio/wave' => 'audio/wav',
496  'audio/mid' => 'audio/midi',
497  'application/mpeg' => 'video/mpeg',
498  'application/x-ogg' => 'application/ogg',
499  'audio/x-ogg' => 'application/ogg',
500  'video/x-ogg' => 'application/ogg',
501  'application/xhtml+xml' => 'text/html',
502  'text/xml' => 'application/xml',
503  'application/x-zip' => 'application/zip',
504  'application/x-ecmascript' => 'application/javascript',
505  'text/ecmascript' => 'application/javascript',
506  'application/acrobat' => 'application/pdf',
507  'image/x.djvu' => 'image/vnd.djvu',
508  'image/x-djvu' => 'image/vnd.djvu',
509  'application/x-acad' => 'application/acad',
510  'application/autocad_dwg' => 'application/acad',
511  'image/x-dwg' => 'application/acad',
512  'application/dwg' => 'application/acad',
513  'application/x-dwg' => 'application/acad',
514  'application/x-autocad' => 'application/acad',
515  'image/vnd.dwg' => 'application/acad',
516  'drawing/dwg' => 'application/acad',
517  'image/jpeg2000' => 'image/jp2',
518  'image/jpeg2000-image' => 'image/jp2',
519  'image/x-jpeg2000-image' => 'image/jp2',
520  ];
521 }
MimeMap defines the mapping of MIME types to file extensions and media types.
Definition: MimeMap.php:29
const MEDIATYPE_DRAWING
Definition: defines.php:30
const MEDIATYPE_VIDEO
Definition: defines.php:35
const MEDIATYPE_OFFICE
Definition: defines.php:39
const MEDIATYPE_UNKNOWN
Definition: defines.php:26
const MEDIATYPE_AUDIO
Definition: defines.php:32
const MEDIATYPE_TEXT
Definition: defines.php:41
const MEDIATYPE_BITMAP
Definition: defines.php:28
const MEDIATYPE_MULTIMEDIA
Definition: defines.php:37
const MEDIATYPE_EXECUTABLE
Definition: defines.php:43
const MEDIATYPE_3D
Definition: defines.php:47
const MEDIATYPE_ARCHIVE
Definition: defines.php:45