MIME
List of public methods of the Zittme\Framework\MIME class. This document was automatically generated from the Zittme core source.
Source: common/framework/MIME.php
Public methods
static function getContentType(string $filename)- Get the MIME type of a file, detected by its content.
static function getTypeByExtension(string $extension)- Get the MIME type for the given extension.
static function getTypeByFilename(string $filename)- Get the MIME type for the given filename.
static function getExtensionByType(string $type)- Get the most common extension for the given MIME type.