Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 11
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 * http://www.gnu.org/copyleft/gpl.html
17 *
18 * @file
19 * @ingroup Mime
20 */
21
22/** @{
23 * Media types.
24 * This defines constants for the value returned by File::getMediaType()
25 */
26// unknown format
27define( 'MEDIATYPE_UNKNOWN', 'UNKNOWN' );
28// some bitmap image or image source (like psd, etc). Can't scale up.
29define( 'MEDIATYPE_BITMAP', 'BITMAP' );
30// some vector drawing (SVG, WMF, PS, ...) or image source (oo-draw, etc). Can scale up.
31define( 'MEDIATYPE_DRAWING', 'DRAWING' );
32// simple audio file (ogg, mp3, wav, midi, whatever)
33define( 'MEDIATYPE_AUDIO', 'AUDIO' );
34// simple video file (ogg, mpg, etc;
35// no not include formats here that may contain executable sections or scripts!)
36define( 'MEDIATYPE_VIDEO', 'VIDEO' );
37// Scriptable Multimedia (flash, advanced video container formats, etc)
38define( 'MEDIATYPE_MULTIMEDIA', 'MULTIMEDIA' );
39// Office Documents, Spreadsheets (office formats possibly containing apples, scripts, etc)
40define( 'MEDIATYPE_OFFICE', 'OFFICE' );
41// Plain text (possibly containing program code or scripts)
42define( 'MEDIATYPE_TEXT', 'TEXT' );
43// binary executable
44define( 'MEDIATYPE_EXECUTABLE', 'EXECUTABLE' );
45// archive file (zip, tar, etc)
46define( 'MEDIATYPE_ARCHIVE', 'ARCHIVE' );
47// 3D file types (stl)
48define( 'MEDIATYPE_3D', '3D' );
49/** @} */