ZenMagick 0.9.8


org.zenmagick.store.model.rss.ZMRss
\store\model\rss\ZMRss.php at line 37

Class ZMRss

ZMObject
└─ZMRss

public class ZMRss
extends ZMObject

A RSS feed.

ZenMagick wrapper around lastRSS.

Author:
DerManoMann
Version:
$Id: ZMRss.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.core.ZMObject
properties_
Constructor Summary

ZMRss(string url, string category, int limit)

Create a new RSS feed

Method Summary
ZMRssChannel

getChannel()

Get channel information.

void

getItems(array A)

Get feed items.

boolean

hasContents()

Returns true if contents is available.

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

Constructor Detail

\store\model\rss\ZMRss.php at line 51

ZMRss

public ZMRss(string url, string category, int limit)

Create a new RSS feed

Parameters:
url - The feed url.
category - An optional category.
limit - An optional item limit (default is 5).

Method Detail

\store\model\rss\ZMRss.php at line 89

getChannel

public ZMRssChannel getChannel()

Get channel information.

Returns:
The channel information.

\store\model\rss\ZMRss.php at line 99

getItems

public void getItems(array A)

Get feed items.

Parameters:
A - list of ZMRssItems.

\store\model\rss\ZMRss.php at line 109

hasContents

public boolean hasContents()

Returns true if contents is available.

Returns:
true if feed items are available, false, if not.

ZenMagick 0.9.8