MediaWiki  1.34.0
defines.php File Reference

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

Go to the source code of this file.

Variables

const MEDIATYPE_3D '3D'
 
const MEDIATYPE_ARCHIVE 'ARCHIVE'
 
const MEDIATYPE_AUDIO 'AUDIO'
 
const MEDIATYPE_BITMAP 'BITMAP'
 
const MEDIATYPE_DRAWING 'DRAWING'
 
const MEDIATYPE_EXECUTABLE 'EXECUTABLE'
 
const MEDIATYPE_MULTIMEDIA 'MULTIMEDIA'
 
const MEDIATYPE_OFFICE 'OFFICE'
 
const MEDIATYPE_TEXT 'TEXT'
 
const MEDIATYPE_UNKNOWN 'UNKNOWN'
 
const MEDIATYPE_VIDEO 'VIDEO'
 

Detailed Description

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Definition in file defines.php.

Variable Documentation

◆ MEDIATYPE_3D

const MEDIATYPE_3D '3D'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 47 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_ARCHIVE

const MEDIATYPE_ARCHIVE 'ARCHIVE'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 45 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_AUDIO

const MEDIATYPE_AUDIO 'AUDIO'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 32 of file defines.php.

Referenced by MimeAnalyzer\getMediaType(), SpecialMIMESearch\getQueryInfo(), and PackedImageGallery\getThumbParams().

◆ MEDIATYPE_BITMAP

const MEDIATYPE_BITMAP 'BITMAP'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 28 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_DRAWING

const MEDIATYPE_DRAWING 'DRAWING'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 30 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_EXECUTABLE

const MEDIATYPE_EXECUTABLE 'EXECUTABLE'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 43 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_MULTIMEDIA

const MEDIATYPE_MULTIMEDIA 'MULTIMEDIA'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 37 of file defines.php.

Referenced by MimeAnalyzer\getMediaType(), and SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_OFFICE

const MEDIATYPE_OFFICE 'OFFICE'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 39 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo().

◆ MEDIATYPE_TEXT

const MEDIATYPE_TEXT 'TEXT'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 41 of file defines.php.

Referenced by SpecialMIMESearch\getQueryInfo(), and MimeAnalyzer\improveTypeFromExtension().

◆ MEDIATYPE_UNKNOWN

const MEDIATYPE_UNKNOWN 'UNKNOWN'

◆ MEDIATYPE_VIDEO

const MEDIATYPE_VIDEO 'VIDEO'

Media types. This defines constants for the value returned by File::getMediaType()

Definition at line 35 of file defines.php.

Referenced by MimeAnalyzer\getMediaType(), and SpecialMIMESearch\getQueryInfo().