MIME
Danh sách các phương thức công khai của lớp Zittme\Framework\MIME. Tài liệu này được tạo tự động từ mã nguồn lõi Zittme.
Nguồn: common/framework/MIME.php
Phương thức công khai
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.