Feed/Reader/Feed/Atom.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed_Reader
- Version
- $Id: Atom.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Feed_Reader_Feed_Atom
- Parent(s)
- \Zend_Feed_Reader_FeedAbstract
- Children
- \Zend_Feed_Reader_Feed_Atom_Source
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

array $_data = array()
array()Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_data

\DOMDocument $_domDocument = nullParsed feed data in the shape of a DOMDocument
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_domDocumentnullDetails- Type
- \DOMDocument
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_domDocument

array $_entries = array()
array()Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_entries

int $_entriesKey = 0A pointer for the iterator to keep track of the entries array
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_entriesKey0Details- Type
- int
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_entriesKey

array $_extensions = array()
array()Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_extensions

string $_originalSourceUri = nullOriginal Source URI (set if imported from a URI)
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_originalSourceUrinullDetails- Type
- string
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_originalSourceUri

\DOMXPath $_xpath = nullThe base XPath query used to retrieve feed data
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_xpathnullDetails- Type
- \DOMXPath
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_xpath
Methods

__call( $method, $args) : void| Name | Type | Description |
|---|---|---|
| $method | ||
| $args |

__construct(\DOMDocument $dom, string $type = null) : voidConstructor
| Name | Type | Description |
|---|---|---|
| $dom | \DOMDocument | |
| $type | string |

_loadExtensions() : void
current() : \Zend_Feed_Reader_EntryInterface
| Type | Description |
|---|---|
| \Zend_Feed_Reader_EntryInterface |

getAuthor(int $index = 0) : string | nullGet a single author
| Name | Type | Description |
|---|---|---|
| $index | int |
| Type | Description |
|---|---|
| string | null |

getCategories() : \Zend_Feed_Reader_Collection_CategoryGet all categories
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Collection_Category |

getDateModified() : string | nullGet the feed modification date
| Type | Description |
|---|---|
| string | null |

getElement() : \DOMElementGet the DOMElement representing the items/feed element
Inherited from: \Zend_Feed_Reader_FeedAbstract::getElement()| Type | Description |
|---|---|
| \DOMElement |

getExtension(string $name) : \Zend_Feed_Reader_Extension_FeedAbstractReturn an Extension object with the matching name (postfixed with _Feed)
Inherited from: \Zend_Feed_Reader_FeedAbstract::getExtension()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Extension_FeedAbstract |

getFeedLink() : string | nullGet a link to the feed's XML Url
| Type | Description |
|---|---|
| string | null |

getHubs() : array | nullGet an array of any supported Pusubhubbub endpoints
| Type | Description |
|---|---|
| array | null |

getLastBuildDate() : string | nullGet the feed lastBuild date.
This is not implemented in Atom.
| Type | Description |
|---|---|
| string | null |

getOriginalSourceUri() : string | nullGet an original source URI for the feed being parsed.
Inherited from: \Zend_Feed_Reader_FeedAbstract::getOriginalSourceUri()Returns null if unset or the feed was not imported from a URI.
| Type | Description |
|---|---|
| string | null |

getXpath() : \DOMXPathGet the DOMXPath object for this feed
Inherited from: \Zend_Feed_Reader_FeedAbstract::getXpath()| Type | Description |
|---|---|
| \DOMXPath |

rewind() : voidReset the pointer in the feed object
Inherited from: \Zend_Feed_Reader_FeedAbstract::rewind()
setOriginalSourceUri(string $uri) : voidSet an original source URI for the feed being parsed.
Inherited from: \Zend_Feed_Reader_FeedAbstract::setOriginalSourceUri()This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.
| Name | Type | Description |
|---|---|---|
| $uri | string |

valid() : booleanCheck to see if the iterator is still valid
Inherited from: \Zend_Feed_Reader_FeedAbstract::valid()| Type | Description |
|---|---|
| boolean |