Atom feed class
The Zend_Feed_Atom class is a concrete subclass of the general Zend_Feed_Abstract class, tailored for representing an Atom feed. It shares all of the same methods with its abstract parent. The distinction is made in the format of data that Zend_Feed_Atom expects, and as a further pointer for users as to what kind of feed object they have been passed.
Located in /Zend/Feed/Atom.php (line 48)
Zend_Feed_Element | --Zend_Feed_Abstract | --Zend_Feed_Atom
The default namespace for Atom feeds.
The classname for individual feed elements.
The element name for individual feed elements (Atom <entry> elements).
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
Easy access to <link> tags keyed by "rel" attributes.
If $elt->link() is called with no arguments, we will attempt to return the value of the <link> tag(s) like all other method-syntax attribute access. If an argument is passed to link(), however, then we will return the "href" value of the first <link> tag that has a "rel" attribute matching $rel:
$elt->link(): returns the value of the link tag. $elt->link('self'): returns the href from the first <link rel="self"> in the entry.
Make accessing some individual elements of the feed easier.
Special accessors 'entry' and 'entries' are provided so that if you wish to iterate over an Atom feed's entries, you can do so using foreach ($feed->entries as $entry) or foreach ($feed->entry as $entry).
Override Zend_Feed_Abstract to set up the $_element and $_entries aliases.
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 Wed, 21 Feb 2007 11:45:50 -0800 by phpDocumentor 1.3.1