Class JFeedItem

Description

JFeedItem is an internal class that stores feed item information

  • since: 11.1

Located in /libraries/joomla/document/feed/feed.php (line 251)

JObject
   |
   --JFeedItem
Variable Summary
string $author
string $authorEmail
array $category
string $comments
string $date
string $description
object $enclosure
string $guid
string $link
string $source
string $title
Method Summary
JFeedItem setEnclosure (object $enclosure)
Variables
string $author (line 292)

Author item element

optional

  • since: 11.1
  • access: public
string $authorEmail (line 302)

Author email element

optional

  • since: 11.1
  • access: public
array $category (line 312)

Category element

optional

  • var: or string
  • since: 11.1
  • access: public
string $comments (line 322)

Comments element

optional

  • since: 11.1
  • access: public
string $date (line 362)

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: 11.1
  • access: public
string $description (line 282)

Description item element

required

  • since: 11.1
  • access: public
object $enclosure = null (line 330)

Enclosure element

  • since: 11.1
  • access: public
string $guid (line 340)

Guid element

optional

  • since: 11.1
  • access: public
string $link (line 272)

Link item element

required

  • since: 11.1
  • access: public
string $source (line 372)

Source element

optional

  • since: 11.1
  • access: public
string $title (line 262)

Title item element

required

  • since: 11.1
  • access: public

Inherited Variables

Inherited from JObject

JObject::$_errors
Methods
setEnclosure (line 383)

Set the JFeedEnclosure for this item

  • return: instance of $this to allow chaining
  • since: 11.1
  • access: public
JFeedItem setEnclosure (object $enclosure)
  • object $enclosure: The JFeedItem to add to the feed.

Inherited Methods

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:54:42 -0500 by phpDocumentor 1.4.4