Stores the feed channel properties. If the channel is an RSS2 feed, the factory method can be used with the parsed SimpleXMLElement.
// set properties $oChannel = new feedChannel(); $oChannel->setTitle()->setDescription(); // set properties from array $oChannel = new feedChannel(); $oChannel->loadFromArray($inArray); // set properties from SimpleXML $oChannel = feedChannel::factoryFromXml($inXML);
public __construct()
Returns a new feedChannel
public reset()
Resets the object
public loadFromXml($inXML)
Loads properties from a simple xml element
public loadFromArray([$inData = array()])
Loads properties from an associative array
public isModified()
Returns true if object has been modified
public setModified([$inStatus = true])
Set $_Modified to $inStatus
public getTitle()
Returns the feed title
public setTitle($inTitle)
Sets the feed title
public getDescription()
Returns the feed description / summary
public setDescription($inDescription)
Sets the feed description / summary
public getLanguage()
Returns the feed language
public setLanguage($inLanguage)
Sets the feed language
public getGenerator()
Returns the feed generator program
public setGenerator($inGenerator)
Sets the feed generator program name
public getTtl()
Returns the feed refresh time
public setTtl($inTtl)
Sets the feed refresh time
public getLink()
Returns the feed link
public setLink($inLink)
Set feed link
public getItemSet()
Returns the feed item set
Posted by: Scorpio Documentor (Writer), in Feed on 19 Nov 2009 @ 20:30
Tags: feed, feedchannel,
This
work is licenced under a
Creative Commons Licence.