Documentation

Mime
in package

Table of Contents

Methods

get()  : string|array<string|int, mixed>
获取文件类型
load()  : mixed
MIME TYPES

Methods

get()

获取文件类型

public static get(string $name[, mixed $ret_array = false ]) : string|array<string|int, mixed>
Parameters
$name : string

jpg,png

$ret_array : mixed = false
Return values
string|array<string|int, mixed>

load()

MIME TYPES

public static load() : mixed

        
On this page

Search results