Class xml_domit_rss_item
Represents an RSS item.

isPublic? yes
isAbstract? no

Inheritance tree:


xml_domit_rss_base
|
xml_domit_rss_elementindexer
|
xml_domit_rss_item

Known subclasses:

None

Source file: xml_domit_rss.php




Constructor
Instantiates a new xml_domit_rss_item.

Signature: xml_domit_rss_item(&$item)

isPublic? yes




Public Constants



Private Constants



Public Fields



Private Fields
domit_rss_categories
A list of references to category items.

Type: Array




Public Methods
getTitle
Returns the title of the item.

Signature: getTitle()

Returns:

String - The title of the item, or an empty string.

Example:

Returns the title of the item.

$title = $myItem->getTitle();

getLink
Returns the url of the item.

Signature: getLink()

Returns:

String - The url of the item, or an empty string.

Example:

Returns the url of the item.

$link = $myItem->getLink();

getDescription
Returns the description of the item.

Signature: getDescription()

Returns:

String - The description of the item, or an empty string.

Example:

Returns the description of the item.

$description = $myItem->getDescription();

getCategoryCount
Returns the category count of the item.

Signature: getCategoryCount()

Returns:

int - The category count of the item.

Example:

Returns the category count of the item.

$catCount = $myItem->getCategoryCount();

getCategory
Returns a reference to the category at the specified index.

Signature: &getCategory($index)

Parameters:

int index - The index of the requested category.

Returns:

xml_domit_rss_category - The category at the specified index.

Example:

Returns the category at the specified index.

$myCategory =& $myItem->getCategory(0);




Private Methods
_init
Performs initialization of the RSS item.

Signature: _init()


Documentation generated by ClassyDoc, using the DOMIT! and SAXY parsers.
Please visit Engage Interactive to download free copies.