Skip to content
Mo McRoberts edited this page Aug 7, 2011 · 1 revision

Return a human-readable description of a MIME type

Synopsis

uses('mime');

public static function [[MIME]]::description(string [in] $type)

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

Return Value

string A human-readable description for $type

Clone this wiki locally