__construct()
Constructor
- param DOMDocument
The DOM object for the feed's XML
- param string
Feed type
setOriginalSourceUri()
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.
- param string
getOriginalSourceUri()
Get an original source URI for the feed being parsed. Returns null if unset or the feed was not imported from a URI.
- rtype
string|null
count()
Get the number of feed entries. Required by the Iterator interface.
- rtype
int
current()
Return the current entry
- rtype
ZendFeedReaderEntryEntryInterface
getDomDocument()
Get the DOM
- rtype
DOMDocument
getEncoding()
Get the Feed's encoding
- rtype
string
saveXml()
Get feed as xml
- rtype
string
getElement()
Get the DOMElement representing the items/feed element
- rtype
DOMElement
getXpath()
Get the DOMXPath object for this feed
- rtype
DOMXPath
getType()
Get the feed type
- rtype
string
key()
Return the current feed key
- rtype
int
next()
Move the feed pointer forward
rewind()
Reset the pointer in the feed object
valid()
Check to see if the iterator is still valid
- rtype
bool
getExtensions()
__call()
getExtension()
Return an Extension object with the matching name (postfixed with _Feed)
- param string
- rtype
ZendFeedReaderExtensionAbstractFeed
loadExtensions()
indexEntries()
Read all entries to the internal entries array
registerNamespaces()
Register the default namespaces for the current feed format