BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
MimeMagic Class Reference
Inheritance diagram for MimeMagic:
Collaboration diagram for MimeMagic:

Static Public Member Functions

static singleton ()
 

Additional Inherited Members

- Public Member Functions inherited from MimeAnalyzer
 __construct (array $params)
 
 setLogger (LoggerInterface $logger)
 
 addExtraTypes ($types)
 
 addExtraInfo ($info)
 
 getExtensionsForType ($mime)
 
 getTypesForExtension ($ext)
 
 guessTypesForExtension ($ext)
 
 isMatchingExtension ($extension, $mime)
 
 isPHPImageType ($mime)
 
 isRecognizableExtension ($extension)
 
 improveTypeFromExtension ($mime, $ext)
 
 guessMimeType ($file, $ext=true)
 
 detectZipType ($header, $tail=null, $ext=false)
 
 getMediaType ($path=null, $mime=null)
 
 findMediaType ($extMime)
 
 getMediaTypes ()
 
 getIEMimeTypes ($fileName, $chunk, $proposed)
 
- Public Attributes inherited from MimeAnalyzer
 $mExtToMime = null
 
- Protected Member Functions inherited from MimeAnalyzer
 loadFiles ()
 
 getIEContentAnalyzer ()
 
- Protected Attributes inherited from MimeAnalyzer
 $typeFile
 
 $infoFile
 
 $xmlTypes
 
 $initCallback
 
 $detectCallback
 
 $guessCallback
 
 $extCallback
 
 $mediaTypes = null
 
 $mimeTypeAliases = null
 
 $mimetoExt = null
 
 $IEAnalyzer
 
- Static Protected Attributes inherited from MimeAnalyzer
static $wellKnownTypes
 
static $wellKnownInfo
 

Detailed Description

Deprecated:
since 1.29 MimeAnalyzer should be used instead of MimeMagic

Member Function Documentation

static MimeMagic::singleton ( )
static

Get an instance of this class

Returns
MimeMagic
Deprecated:
since 1.28 get a MimeAnalyzer instance from MediaWikiServices

The documentation for this class was generated from the following file: