SupportsIptcMetadataInterface
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
Returns true, if the given IPTC metadata property is available, ie. is supported and is not empty.
Returns the given IPTC metadata property if it exists, or an empty string otherwise.
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.
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")