## Zend_Feed_Rss

Description

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.

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Feed/Rss.php (line 47)

    Zend_Feed_Element
       |
       --Zend_Feed_Abstract
          |
          --Zend_Feed_Rss

Variable Summary
string $_defaultNamespace
string $_entryClassName
string $_entryElementName
Method Summary
mixed __get (string $var)
void __wakeup ()
Variables
string $_defaultNamespace = 'rss' (line 68)

The default namespace for RSS channels.

- access: protected

string $_entryClassName = 'Zend_Feed_EntryRss' (line 54)

The classname for individual channel elements.

- access: protected

string $_entryElementName = 'item' (line 61)

The element name for individual channel elements (RSS <item>s).

- access: protected

#### Inherited Variables

Inherited from Zend_Feed_Abstract

> Zend_Feed_Abstract::$_entries
> Zend_Feed_Abstract::$_entryIndex

Inherited from Zend_Feed_Element

> Zend_Feed_Element::$_appended
> Zend_Feed_Element::$_element
> Zend_Feed_Element::$_parentElement

Methods
__get (line 101)

Make 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).

- access: public

mixed __get (string $var)

- string $var: The property to access.

Redefinition of:

Zend_Feed_Element::__get()
  Map variable access onto the underlying entry representation.

__wakeup (line 74)

Override Zend_Feed_Abstract to set up the $_element and $_entries aliases.

- access: public

void __wakeup ()

Redefinition of:

Zend_Feed_Abstract::__wakeup()
  Load the feed as an XML DOMDocument object

#### Inherited Methods

Inherited From Zend_Feed_Abstract

> Zend_Feed_Abstract::__construct()
> Zend_Feed_Abstract::count()
> Zend_Feed_Abstract::current()
> Zend_Feed_Abstract::key()
> Zend_Feed_Abstract::next()
> Zend_Feed_Abstract::rewind()
> Zend_Feed_Abstract::valid()
> Zend_Feed_Abstract::_buildEntryCache()
> Zend_Feed_Abstract::__sleep()
> Zend_Feed_Abstract::__wakeup()

Inherited From Zend_Feed_Element

> Zend_Feed_Element::__construct()
> Zend_Feed_Element::ensureAppended()
> Zend_Feed_Element::getDOM()
> Zend_Feed_Element::offsetExists()
> Zend_Feed_Element::offsetGet()
> Zend_Feed_Element::offsetSet()
> Zend_Feed_Element::offsetUnset()
> Zend_Feed_Element::saveXML()
> Zend_Feed_Element::saveXMLFragment()
> Zend_Feed_Element::setDOM()
> Zend_Feed_Element::setParent()
> Zend_Feed_Element::_children()
> Zend_Feed_Element::__call()
> Zend_Feed_Element::__get()
> Zend_Feed_Element::__isset()
> Zend_Feed_Element::__set()
> Zend_Feed_Element::__toString()
> Zend_Feed_Element::__unset()

Documentation generated on Tue, 11 Jul 2006 12:18:02 -0500 by phpDocumentor 1.3.0RC6