Stats: Add support for chaining TimingMetric->start()
[mediawiki.git] / includes / libs / mime / defines.php
blobe6202ac0b7d62e478aad69404f5a56305a22d082
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.
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.
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
18 * @file
19 * @ingroup Mime
22 /** @{
23 * Media types.
24 * This defines constants for the value returned by File::getMediaType()
26 // unknown format
27 define( 'MEDIATYPE_UNKNOWN', 'UNKNOWN' );
28 // some bitmap image or image source (like psd, etc). Can't scale up.
29 define( 'MEDIATYPE_BITMAP', 'BITMAP' );
30 // some vector drawing (SVG, WMF, PS, ...) or image source (oo-draw, etc). Can scale up.
31 define( 'MEDIATYPE_DRAWING', 'DRAWING' );
32 // simple audio file (ogg, mp3, wav, midi, whatever)
33 define( 'MEDIATYPE_AUDIO', 'AUDIO' );
34 // simple video file (ogg, mpg, etc;
35 // no not include formats here that may contain executable sections or scripts!)
36 define( 'MEDIATYPE_VIDEO', 'VIDEO' );
37 // Scriptable Multimedia (flash, advanced video container formats, etc)
38 define( 'MEDIATYPE_MULTIMEDIA', 'MULTIMEDIA' );
39 // Office Documents, Spreadsheets (office formats possibly containing apples, scripts, etc)
40 define( 'MEDIATYPE_OFFICE', 'OFFICE' );
41 // Plain text (possibly containing program code or scripts)
42 define( 'MEDIATYPE_TEXT', 'TEXT' );
43 // binary executable
44 define( 'MEDIATYPE_EXECUTABLE', 'EXECUTABLE' );
45 // archive file (zip, tar, etc)
46 define( 'MEDIATYPE_ARCHIVE', 'ARCHIVE' );
47 // 3D file types (stl)
48 define( 'MEDIATYPE_3D', '3D' );
49 /** @} */