Back to Joomla project (class list)

Class FeedItem - list of methods

Data object representing a feed item
Package: Joomla\CMS\Document\Feed
Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Document/Feed/FeedItem.php
Project: Joomla

Method Summary

public \Joomla\CMS\Document\Feed\FeedItem
(\Joomla\CMS\Document\Feed\FeedEnclosure $enclosure)

Set the FeedEnclosure for this item
Parameters
  • \Joomla\CMS\Document\Feed\FeedEnclosure $enclosure The FeedEnclosure to add to the feed.
Returns
  • \Joomla\CMS\Document\Feed\FeedItem instance of $this to allow chaining
Since
  • 1.7.0
Show source code of this method: setEnclosure Source Code

Properties Summary

public string
$title
Title item element
Since
  • 1.7.0
public string
$link
Link item element
Since
  • 1.7.0
public string
$description
Description item element
Since
  • 1.7.0
public string
$author
Author item element
Since
  • 1.7.0
public string
$authorEmail
Author email element
Since
  • 1.7.0
public array
$category
Category element
Since
  • 1.7.0
public string
$comments
Comments element
Since
  • 1.7.0
public \Joomla\CMS\Document\Feed\FeedEnclosure
$enclosure
Enclosure element
Since
  • 1.7.0
public string
$guid
Guid element
Since
  • 1.7.0
public string
$date
Published date
Since
  • 1.7.0
public string
$source
Source element
Since
  • 1.7.0

Tags Summary

Since
1.7.0