Class xml_domit_rss_channel_lite
Represents an RSS channel.

isPublic? yes
isAbstract? no

Inheritance tree:


xml_domit_rss_elementindexer
|
xml_domit_rss_channel_lite

Known subclasses:

None

Source file: xml_domit_rss_lite.php




Constructor
Instantiates a new xml_domit_rss_channel_lite.

Signature: xml_domit_rss_channel_lite(&$channel, $externalElements = false)

isPublic? yes




Public Constants



Private Constants



Public Fields



Private Fields
domit_rss_items
A list of references to channel items.

Type: Array




Public Methods
getTitle
Returns the title of the channel.

Signature: getTitle()

Returns:

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

Example:

Returns the title of the channel.

$title = $myChannel->getTitle();

getLink
Returns the url of the channel.

Signature: getLink()

Returns:

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

Example:

Returns the url of the channel.

$link = $myChannel->getLink();

getDescription
Returns the description of the channel.

Signature: getDescription()

Returns:

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

Example:

Returns the description of the channel.

$description = $myChannel->getDescription();

getItemCount
Returns the item count of the channel.

Signature: getItemCount()

Returns:

int - The item count of the channel.

Example:

Returns the item count of the channel.

$itemCount = $myChannel->getItemCount();

getItem
Returns a reference to the item at the specified index.

Signature: &getItem($index)

Parameters:

int index - The index of the requested item.

Returns:

xml_domit_rss_item - The item at the specified index.

Example:

Returns the item at the specified index.

$myItem =& $myChannel->getItem(0);




Private Methods
_init
Performs initialization of an RSS channel.

Signature: _init()


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