跳到主要內容
文件

類別・函式規格

MIME

Zittme\Framework\MIME 類別的公開方法清單。本文件由 Zittme 核心原始碼自動產生。

原始碼:common/framework/MIME.php

公開方法

  • 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.