MediaWiki  1.29.1
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_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_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 MIMEsearchPage\getQueryInfo().

◆ MEDIATYPE_AUDIO

const MEDIATYPE_AUDIO 'AUDIO'

◆ 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 MIMEsearchPage\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 MIMEsearchPage\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 MIMEsearchPage\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 MIMEsearchPage\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 MIMEsearchPage\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 MIMEsearchPage\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 MIMEsearchPage\getQueryInfo().