MimeTypeDetector

FinalYes

This class contains a list of all available / known mimetypes and file extensions, and is automatically generated by TYPO3 via Core/Build/Scripts/generateMimeTypes.php

Table of Contents

Methods

__construct()  : mixed
getFileExtensionsForMimeType()  : array<int, string>
getMimeTypesForFileExtension()  : array<int, string>

Methods

getFileExtensionsForMimeType()

public getFileExtensionsForMimeType(string $mimeType) : array<int, string>
Parameters
$mimeType : string
Return values
array<int, string>

getMimeTypesForFileExtension()

public getMimeTypesForFileExtension(string $fileExtension) : array<int, string>
Parameters
$fileExtension : string
Return values
array<int, string>

        
On this page

Search results