yana

phpDocumentor v 1.4.0

Class RSSitem

Description

«entity» RSS item
This class represents an item of an RSS feed.
Note: all attributes are optional, but at least one of title or description must be set.
  • access: public
Object
   |
   --RSSitem
Variable Summary
string $author
array $category
string $comments
string $description
string $link
string $pubDate
string $title
Method Summary

Variables

string $author = ""
Email address of the author
this field is optional
  • access: public
array $category = array()
include item in one or more categories
this field is optional
  • access: public
string $comments = ""
URL of a page for comments
this field is optional
  • access: public
string $description = ""
item synopsis, note that this may contain HTML
this field is optional
  • access: public
string $link = ""
URL of the item
this field is optional
  • access: public
string $pubDate = ""
indicates when the item was published (auto-generated if not provided)
this field is optional
  • access: public
string $title = ""
title of the item
this field is optional
  • access: public

Methods

constructor
RSSitem RSSitem ()
Description:
creates and initializes a new instance of this class
return item as associative array
array get ()
Description:
This checks the values of all attributes, creates a unique id for this item, and returns an associative array of all object vars.
Returns an empty array and issues an E_USER_NOTICE on error.
  • access: public
inherited from base classes

Inherited From Object

Documentation generated on Sat, 03 Jan 2009 22:22:33 +0100 by phpDocumentor 1.4.0

yana author: Thomas MeyerHomepage: www.yanaframework.net