Rhymix\Framework\MIME
getContentType() #
public static function getContentType(string $filename): ?string
Get the MIME type of a file, detected by its content. This method returns the MIME type of a file, or false on error.
getTypeByExtension() #
public static function getTypeByExtension(string $extension): string
Get the MIME type for the given extension.
getTypeByFilename() #
public static function getTypeByFilename(string $filename): string
Get the MIME type for the given filename.
getExtensionByType() #
public static function getExtensionByType(string $type): ?string
Get the most common extension for the given MIME type.
개요
확장 기능 제작
테마 제작
클래스 및 함수 명세
- 라이믹스 프레임워크
- 프론트엔드 라이브러리
- 이벤트 목록
코어 개발 참여
기타 정보