MIME::description

Return a human-readable description of a MIME type

Synopsis

uses('mime');

public static function MIME::description(string [in] $type, $short = false)

Description

MIME::description() returns a human-readable description of a specified MIME type. For example, the description for video/mp4 might be MPEG 4 video.

Example

Parameters

Name Direction Type Description
$type in string The MIME type to obtain a description for
$short

Return Value

string A human-readable description for $type