클래스·함수 명세

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.