FeedItem
Data object representing a feed item
since |
1.7.0 |
---|---|
package |
Joomla CMS |
Methods
setEnclosure
Set the FeedEnclosure for this item
setEnclosure(\Joomla\CMS\Document\Feed\FeedEnclosure enclosure) : \Joomla\CMS\Document\Feed\FeedItem
since |
1.7.0 |
---|
Arguments
- enclosure
\Joomla\CMS\Document\Feed\FeedEnclosure
The FeedEnclosure to add to the feed.
Response
\Joomla\CMS\Document\Feed\FeedItem
instance of $this to allow chaining
Properties
date
Published date
optional
May be in one of the following formats:
RFC 822: "Mon, 20 Jan 03 18:05:41 +0400" "20 Jan 03 18:05:41 +0000"
ISO 8601: "2003-01-20T18:05:41+04:00"
Unix: 1043082341
since |
1.7.0 |
---|
Type(s)
string