interface SupportsIptcMetadataInterface (View source)

Interface for an Asset Proxy which supports IPTC Metadata

See https://iptc.org/standards/iim/

Note that the property names are UpperCamelCase and as defined in the IPTC IIM specification. Examples: "Title", "Keywords", "CopyrightNotice"

Methods

bool
hasIptcProperty(string $propertyName)

Returns true, if the given IPTC metadata property is available, ie. is supported and is not empty.

string
getIptcProperty(string $propertyName)

Returns the given IPTC metadata property if it exists, or an empty string otherwise.

array
getIptcProperties()

Returns all known IPTC metadata properties as key => value (e.g. "Title" => "My Photo")

Details

bool hasIptcProperty(string $propertyName)

Returns true, if the given IPTC metadata property is available, ie. is supported and is not empty.

Parameters

string $propertyName

Return Value

bool

string getIptcProperty(string $propertyName)

Returns the given IPTC metadata property if it exists, or an empty string otherwise.

Parameters

string $propertyName

Return Value

string

array getIptcProperties()

Returns all known IPTC metadata properties as key => value (e.g. "Title" => "My Photo")

Return Value

array