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 = null
Parsed feed data in the shape of a DOMDocument
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_domDocumentnull
Details- 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 = 0
A pointer for the iterator to keep track of the entries array
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_entriesKey0
Details- 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 = null
Original Source URI (set if imported from a URI)
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_originalSourceUrinull
Details- Type
- string
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_originalSourceUri


\DOMXPath $_xpath = null
The base XPath query used to retrieve feed data
Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_xpathnull
Details- 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) : void
Constructor
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 | null
Get a single author
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
string | null |


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


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


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


getExtension(string $name) : \Zend_Feed_Reader_Extension_FeedAbstract
Return 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 | null
Get a link to the feed's XML Url
Type | Description |
---|---|
string | null |


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


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


getOriginalSourceUri() : string | null
Get 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() : \DOMXPath
Get the DOMXPath object for this feed
Inherited from: \Zend_Feed_Reader_FeedAbstract::getXpath()Type | Description |
---|---|
\DOMXPath |


rewind() : void
Reset the pointer in the feed object
Inherited from: \Zend_Feed_Reader_FeedAbstract::rewind()

setOriginalSourceUri(string $uri) : void
Set 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() : boolean
Check to see if the iterator is still valid
Inherited from: \Zend_Feed_Reader_FeedAbstract::valid()Type | Description |
---|---|
boolean |