本文へスキップ
ドキュメント

クラス・関数リファレンス

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.