\acdhOeaw\fedora\disseminationFormat

Container describing dissemination service return format.

Format consists of a format name (in most cases MIME type but there can be exceptions) and weight (as weights used in the HTTP Accept header).

Summary

Methods
Properties
Constants
__construct()
__toString()
$format
$weight
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$format

$format : string

Return format name (typically a MIME type)

Type

string

$weight

$weight : float

Return format weight

Type

float

Methods

__construct()

__construct(string  $value) 

Creates a return format description.

Parameters

string $value

return type description in format "type" or "type; q=weight", where weight is a number between 0 and 1

__toString()

__toString() : string

Provides pretty-print serializaton

Returns

string