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.
array $_data = 'array'
Parsed feed data
DOMDocument $_domDocument = 'null'
Parsed feed data in the shape of a DOMDocument
array $_entries = 'array'
An array of parsed feed entries
int $_entriesKey = '0'
A pointer for the iterator to keep track of the entries array
array $_extensions = 'array'
Array of loaded extensions
string $_originalSourceUri = 'null'
Original Source URI (set if imported from a URI)
DOMXPath $_xpath = 'null'
The base XPath query used to retrieve feed data
__call(
$method, $args
)
:
__construct(
DomDocument $domDocument, string $type
=
null
)
:
Constructor
_indexEntries(
)
:
Read all entries to the internal entries array
_loadExtensions(
)
:
_registerNamespaces(
)
:
Register the default namespaces for the current feed format
count(
)
:
int
Get the number of feed entries.
Required by the Iterator interface.
current(
)
:
Zend_Feed_Reader_EntryInterface
Return the current entry
getDomDocument(
)
:
DOMDocument
Get the DOM
getElement(
)
:
DOMElement
Get the DOMElement representing the items/feed element
getEncoding(
)
:
string
Get the Feed's encoding
getExtension(
string $name
)
:
Zend_Feed_Reader_Extension_FeedAbstract
Return an Extension object with the matching name (postfixed with _Feed)
getExtensions(
)
:
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.
getType(
)
:
string
Get the feed type
getXpath(
)
:
DOMXPath
Get the DOMXPath object for this feed
key(
)
:
unknown
Return the current feed key
next(
)
:
Move the feed pointer forward
rewind(
)
:
Reset the pointer in the feed object
saveXml(
)
:
string
Get feed as xml
setOriginalSourceUri(
string $uri
)
:
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.
valid(
)
:
boolean
Check to see if the iterator is still valid