ZenMagick 0.9.8


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

Class ZMRssChannel

ZMObject
└─ZMRssChannel

public class ZMRssChannel
extends ZMObject

A RSS feed channel.

ZenMagick wrapper around lastRSS.

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

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

ZMRssChannel(mixed rs, array Channel)

Create new RSS channel.

Method Summary
string

getDescription()

Get the channel description.

string

getEncoding()

Get the channel encoding.

string

getImageHeight()

Get the channels image height.

string

getImageLink()

Get the channels image link.

string

getImageTitle()

Get the channels image title.

string

getImageWidth()

Get the channels image width.

string

getLastBuildDate()

Get the channels last build date.

string

getLink()

Get the channel link.

array

getProperties()

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.core.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

Constructor Detail

\store\model\rss\ZMRssChannel.php at line 46

ZMRssChannel

public ZMRssChannel(mixed rs, array Channel)

Create new RSS channel.

Parameters:
Channel - data.

Method Detail

\store\model\rss\ZMRssChannel.php at line 85

getDescription

public string getDescription()

Get the channel description.

Returns:
The channel description.

\store\model\rss\ZMRssChannel.php at line 78

getEncoding

public string getEncoding()

Get the channel encoding.

Returns:
The channel encoding.

\store\model\rss\ZMRssChannel.php at line 120

getImageHeight

public string getImageHeight()

Get the channels image height.

Returns:
The channels image height.

\store\model\rss\ZMRssChannel.php at line 106

getImageLink

public string getImageLink()

Get the channels image link.

Returns:
The channels image link.

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

getImageTitle

public string getImageTitle()

Get the channels image title.

Returns:
The channels image title.

\store\model\rss\ZMRssChannel.php at line 113

getImageWidth

public string getImageWidth()

Get the channels image width.

Returns:
The channels image width.

\store\model\rss\ZMRssChannel.php at line 92

getLastBuildDate

public string getLastBuildDate()

Get the channels last build date.

Returns:
The channels last build date.

\store\model\rss\ZMRssChannel.php at line 71

getLink

public string getLink()

Get the channel link.

Returns:
The channel link.

\store\model\rss\ZMRssChannel.php at line 215

getProperties

public array getProperties()

Get all properties.

Returns:
Name/value map.

\store\model\rss\ZMRssChannel.php at line 208

getProperty

public string getProperty(string name)

Custom get method for properties that do not have a dedicated access method.

Parameters:
name - The property name.
Returns:
value The value or null.

\store\model\rss\ZMRssChannel.php at line 64

getTitle

public string getTitle()

Get the channel title.

Returns:
The channel title.

\store\model\rss\ZMRssChannel.php at line 127

hasImage

public boolean hasImage()

Checks if the channel has an image.

Returns:
true if a channel image is available, false if not.

\store\model\rss\ZMRssChannel.php at line 155

setDescription

public void setDescription(string description)

Set the channel description.

Parameters:
description - The channel description.

\store\model\rss\ZMRssChannel.php at line 148

setEncoding

public void setEncoding(string encoding)

Set the channel encoding.

Parameters:
encoding - The channel encoding.

\store\model\rss\ZMRssChannel.php at line 190

setImageHeight

public void setImageHeight(int height)

Set the channels image height.

Parameters:
height - The channels image height.

\store\model\rss\ZMRssChannel.php at line 176

setImageLink

public void setImageLink(mixed lin, string link)

set the channels image link.

Parameters:
link - The channels image link.

\store\model\rss\ZMRssChannel.php at line 169

setImageTitle

public void setImageTitle(string title)

Set the channels image title.

Parameters:
title - The channels image title.

\store\model\rss\ZMRssChannel.php at line 183

setImageWidth

public void setImageWidth(int width)

set the channels image width.

Parameters:
width - The channels image width.

\store\model\rss\ZMRssChannel.php at line 162

setLastBuildDate

public void setLastBuildDate(string date)

Set the channels last build date.

Parameters:
date - The channels last build date.

\store\model\rss\ZMRssChannel.php at line 141

setLink

public void setLink(string link)

Set the channel link.

Parameters:
link - The channel link.

\store\model\rss\ZMRssChannel.php at line 199

setProperty

public void setProperty(string name, string value)

Custom set method for properties that do not have a dedicated access method.

Parameters:
name - The property name.
value - The value.

\store\model\rss\ZMRssChannel.php at line 134

setTitle

public void setTitle(string title)

Set the channel title.

Parameters:
title - The channel title.

ZenMagick 0.9.8