Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
RSS channel class
The Zend_Feed_Rss class is a concrete subclass of Zend_Feed_Abstract meant for representing RSS channels. It does not add any methods to its parent, just provides a classname to check against with the instanceof operator, and expects to be handling RSS-formatted data instead of Atom.
string $_defaultNamespace = 'rss'The default namespace for RSS channels.
Detailsstring $_entryClassName = 'Zend_Feed_Entry_Rss'The classname for individual channel elements.
Detailsstring $_entryElementName = 'item'The element name for individual channel elements (RSS <item>s).
Details__get(
string $var
)
:
mixedMake accessing some individual elements of the channel easier.
Special accessors 'item' and 'items' are provided so that if you wish to iterate over an RSS channel's items, you can do so using foreach ($channel->items as $item) or foreach ($channel->item as $item).
Details__wakeup(
)
:
voidOverride Zend_Feed_Abstract to set up the $_element and $_entries aliases.
Details_buildiTunes(
DOMElement $root, array $array
)
:
voidAdds the iTunes extensions to a root node
Details_mapFeedEntries(
DOMElement $root, array $array
)
:
voidGenerate the entries of the feed when working in write mode
The following nodes are constructed for each feed entry
Details_mapFeedHeaders(
array $array
)
:
DOMElementGenerate the header of the feed when working in write mode
DetailssaveXml(
)
:
stringOverride Zend_Feed_Element to include <rss> root node
Detailssend(
)
:
voidSend feed to a http client with the correct header
Details