MediaWiki  1.28.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_UNKNOWN 'UNKNOWN'
 
const MEDIATYPE_BITMAP 'BITMAP'
 
const MEDIATYPE_DRAWING 'DRAWING'
 
const MEDIATYPE_AUDIO 'AUDIO'
 
const MEDIATYPE_VIDEO 'VIDEO'
 
const MEDIATYPE_MULTIMEDIA 'MULTIMEDIA'
 
const MEDIATYPE_OFFICE 'OFFICE'
 
const MEDIATYPE_TEXT 'TEXT'
 
const MEDIATYPE_EXECUTABLE 'EXECUTABLE'
 
const MEDIATYPE_ARCHIVE 'ARCHIVE'
 

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

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().

const MEDIATYPE_AUDIO 'AUDIO'
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(), and ParserTestRunner\setupUploads().

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(), and ParserTestRunner\setupUploads().

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().

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().

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().

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().

const MEDIATYPE_UNKNOWN 'UNKNOWN'
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(), MIMEsearchPage\getQueryInfo(), and ParserTestRunner\setupUploads().