Entry
extends Entry
in package
Laminas\Feed\Entry extension for Dublin Core
Note: There doesn't seem to be a generic base class for this functionality, and creating a class with no parent blows up due to unexpected calls to Itunes-related functionality. To work around this, we are extending the equivalent Itunes plugin. This works fine, but perhaps in future there will be a more elegant way to achieve the same effect.
Tags
Table of Contents
- $dcDate : string
- Date
- $dcFormats : array<string|int, mixed>
- Formats
- addDCFormat() : void
- Add a Dublin Core format.
- getDCDate() : string
- Get the Dublin Core date.
- getDCFormats() : array<string|int, mixed>
- Get the Dublin Core formats.
- setDCDate() : void
- Set the Dublin Core date.
Properties
$dcDate
Date
protected
string
$dcDate
= null
$dcFormats
Formats
protected
array<string|int, mixed>
$dcFormats
= []
Methods
addDCFormat()
Add a Dublin Core format.
public
addDCFormat(string $format) : void
Parameters
- $format : string
-
Format to add.
Return values
void —getDCDate()
Get the Dublin Core date.
public
getDCDate() : string
Return values
string —getDCFormats()
Get the Dublin Core formats.
public
getDCFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —setDCDate()
Set the Dublin Core date.
public
setDCDate(string $date) : void
Parameters
- $date : string
-
Date to set.