ZenMagick 0.9.6


org.zenmagick.model.rss.ZMRssFeed

Class ZMRssFeed

ZMObject
|
+--ZMRssFeed

public class ZMRssFeed
extends ZMObject

A RSS feed.

Author:
DerManoMann
Version:
$Id: ZMRssFeed.php 2121 2009-03-31 01:56:56Z dermanomann $

Fields inherited from org.zenmagick.ZMObject
properties_
Constructor Summary

ZMRssFeed()

Create new RSS feed.

Method Summary
ZMRssChannel

getChannel()

Get the channel.

array

getItems()

Get the feed items.

void

setChannel(ZMRssChannel channel)

Set the channel.

void

setItems(array items)

Set the feed items.

Methods inherited from org.zenmagick.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

ZMRssFeed

public ZMRssFeed()

Create new RSS feed. /


Method Detail

getChannel

public ZMRssChannel getChannel()

Get the channel.

Returns:
The channel.

getItems

public array getItems()

Get the feed items.

Returns:
A list of ZMRssItem instances.

setChannel

public void setChannel(ZMRssChannel channel)

Set the channel.

Parameters:
channel - The channel.

setItems

public void setItems(array items)

Set the feed items.

Parameters:
items - A list of ZMRssItem instances.

ZenMagick 0.9.6