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 license@zend.com so we can send you a copy immediately.

int
$_entriesKey= '0'
A pointer for the iterator to keep track of the entries array
0
Details
string
$_originalSourceUri= 'null'
Original Source URI (set if imported from a URI)
null
Details
__construct(
\DomDocument $domDocument, string $type
=
null
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$domDocument | \DomDocument | The DOM object for the feed's XML |
$type | string | Feed type |

count(
)
:
int
Get the number of feed entries.
Required by the Iterator interface.
Type | Description |
---|---|
int |

current(
)
:
\Zend_Feed_Reader_EntryInterface
Return the current entry
Type | Description |
---|---|
\Zend_Feed_Reader_EntryInterface |

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

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

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

setOriginalSourceUri(
string $uri
)
:
void
Set an original source URI for the feed being parsed. This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.
Name | Type | Description |
---|---|---|
$uri | string |