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 /Feed/Atom.php (line 50)
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::$_encoding
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.
Override Zend_Feed_Element to allow formated feeds
Send feed to a http client with the correct header
Generate the entries of the feed when working in write mode
The following nodes are constructed for each feed entry <entry> <id>url to feed entry</id> <title>entry title</title> <updated>last update</updated> <link rel="alternate" href="url to feed entry" /> <summary>short text</summary> <content>long version, can contain html</content> </entry>
Generate the header of the feed when working in write mode
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::send()
Zend_Feed_Abstract::valid()
Zend_Feed_Abstract::_buildEntryCache()
Zend_Feed_Abstract::_mapFeedEntries()
Zend_Feed_Abstract::_mapFeedHeaders()
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::getEncoding()
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::setEncoding()
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 Mon, 21 Jun 2010 15:08:00 -0400 by phpDocumentor 1.4.3