public static getExtensionsByMimeType ( string $mimeType, string $magicFile = null ) : array | ||
$mimeType | string | file MIME type. |
$magicFile | string | the path (or alias) of the file that contains all available MIME type information. If this is not set, the file specified by [[mimeMagicFile]] will be used. |
return | array | the extensions corresponding to the specified MIME type |