ZenMagick 0.9.10


zenmagick.store.shared.model.rss\ZMRss
model\rss\ZMRss.php at line 34

Class ZMRss

ZMObject
└─ZMRss

public class ZMRss
extends ZMObject

A RSS feed.

ZenMagick wrapper around lastRSS.

Author:
DerManoMann

Fields inherited from org.zenmagick.core\ZMObject
properties_
Method Summary
void

__construct(string url, string category, int limit)

Create a new RSS feed

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
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

model\rss\ZMRss.php at line 48

__construct

public void __construct(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).

model\rss\ZMRss.php at line 86

getChannel

public ZMRssChannel getChannel()

Get channel information.

Returns:
The channel information.

model\rss\ZMRss.php at line 96

getItems

public void getItems(array A)

Get feed items.

Parameters:
A - list of ZMRssItems.

model\rss\ZMRss.php at line 106

hasContents

public boolean hasContents()

Returns true if contents is available.

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

ZenMagick 0.9.10