Generates a HTTP Content-Disposition field-value.
public makeDisposition ( string $disposition, string $filename, string $filenameFallback = '' ) : string | ||
$disposition | string | One of "inline" or "attachment" |
$filename | string | A unicode string |
$filenameFallback | string | A string containing only ASCII characters that is semantically equivalent to $filename. If the filename is already ASCII, it can be omitted, or just copied from $filename |
Résultat | string | A string suitable for use as a Content-Disposition field-value |