ZMObject
|
+--ZMRssChannel
public class ZMRssChannel
extends ZMObject
| Fields inherited from org.zenmagick.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMRssChannel(mixed rs, array Channel) Create new RSS channel. |
|
| Method Summary | |
|---|---|
| string | Get the channel description. |
| string | Get the channel encoding. |
| string | Get the channels image height. |
| string | Get the channels image link. |
| string | Get the channels image title. |
| string | Get the channels image width. |
| string | Get the channels last build date. |
| string | getLink() Get the channel link. |
| array | Get all properties. |
| string | getProperty(string name) Custom get method for properties that do not have a dedicated access method. |
| string | getTitle() Get the channel title. |
| boolean | hasImage() Checks if the channel has an image. |
| void | setDescription(string description) Set the channel description. |
| void | setEncoding(string encoding) Set the channel encoding. |
| void | setImageHeight(int height) Set the channels image height. |
| void | setImageLink(mixed lin, string link) set the channels image link. |
| void | setImageTitle(string title) Set the channels image title. |
| void | setImageWidth(int width) set the channels image width. |
| void | setLastBuildDate(string date) Set the channels last build date. |
| void | setLink(string link) Set the channel link. |
| void | setProperty(string name, string value) Custom set method for properties that do not have a dedicated access method. |
| void | setTitle(string title) Set the channel title. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMRssChannel(mixed rs, array Channel)
Create new RSS channel.
public string getDescription()
Get the channel description.
public string getEncoding()
Get the channel encoding.
public string getImageHeight()
Get the channels image height.
public string getImageLink()
Get the channels image link.
public string getImageTitle()
Get the channels image title.
public string getImageWidth()
Get the channels image width.
public string getLastBuildDate()
Get the channels last build date.
public string getLink()
Get the channel link.
public array getProperties()
Get all properties.
public string getProperty(string name)
Custom get method for properties that do not have a dedicated access method.
null.public string getTitle()
Get the channel title.
public boolean hasImage()
Checks if the channel has an image.
true if a channel image is available, false if not.public void setDescription(string description)
Set the channel description.
public void setEncoding(string encoding)
Set the channel encoding.
public void setImageHeight(int height)
Set the channels image height.
public void setImageLink(mixed lin, string link)
set the channels image link.
public void setImageTitle(string title)
Set the channels image title.
public void setImageWidth(int width)
set the channels image width.
public void setLastBuildDate(string date)
Set the channels last build date.
public void setLink(string link)
Set the channel link.
public void setProperty(string name, string value)
Custom set method for properties that do not have a dedicated access method.
public void setTitle(string title)
Set the channel title.
A RSS feed channel.
ZenMagick wrapper around
lastRSS.