Methods
__call()
__call($method, $args)
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::__call() |
Parameters
$method
$args
Constructor
__construct(\DOMDocument $dom, string $type)
Get the number of feed entries.
count() : int
Inherited
Required by the Iterator interface.
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::count() |
Returns
int
Get a single author
getAuthor(int $index) : string | null
Parameters
$index
int
Returns
string
null
Get an array with feed authors
getAuthors() : array
Get a link to the source website
getBaseUrl() : string | null
Get the copyright entry
getCopyright() : string | null
Get the feed creation date
getDateCreated() : string | null
Get the feed modification date
getDateModified() : string | null
Get the feed description
getDescription() : string | null
Get the DOM
getDomDocument() : \DOMDocument
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getDomDocument() |
Returns
Get the DOMElement representing the items/feed element
getElement() : \DOMElement
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getElement() |
Returns
Get the Feed's encoding
getEncoding() : string
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getEncoding() |
Returns
string
Return an Extension object with the matching name (postfixed with _Feed)
getExtension(string $name) : \Zend\Feed\Reader\Extension\AbstractFeed
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getExtension() |
Parameters
$name
string
Returns
getExtensions()
getExtensions()
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getExtensions() |
Get a link to the feed's XML Url
getFeedLink() : string | null
Get the feed generator entry
getGenerator() : string | null
Get an array of any supported Pusubhubbub endpoints
getHubs() : array | null
Get the feed ID
getId() : string | null
Get feed image data
getImage() : array | null
Get the feed language
getLanguage() : string | null
Get the feed lastBuild date.
getLastBuildDate() : string | null
This is not implemented in Atom.
Returns
string
null
Get a link to the source website
getLink() : string | null
Get an original source URI for the feed being parsed.
getOriginalSourceUri() : string | null
Inherited
Returns null if
unset or the feed was not imported from a URI.
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getOriginalSourceUri() |
Returns
string
null
Get the feed title
getTitle() : string | null
Get the feed type
getType() : string
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getType() |
Returns
string
Get the DOMXPath object for this feed
getXpath() : \DOMXPath
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::getXpath() |
Returns
Return the current feed key
key() : int
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::key() |
Returns
int
Move the feed pointer forward
next()
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::next() |
Reset the pointer in the feed object
rewind()
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::rewind() |
Get feed as xml
saveXml() : string
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::saveXml() |
Returns
string
Set an original source URI for the feed being parsed.
setOriginalSourceUri(string $uri)
Inherited
This value
is returned from getFeedLink() method if the feed does not carry
a self-referencing URI.
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::setOriginalSourceUri() |
Parameters
$uri
string
Check to see if the iterator is still valid
valid() : bool
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::valid() |
Returns
bool
Read all entries to the internal entries array
indexEntries() : void
loadExtensions()
loadExtensions()
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::loadExtensions() |
Register the default namespaces for the current feed format
registerNamespaces()
Properties
Parsed feed data
$data : array
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$data |
Parsed feed data in the shape of a DOMDocument
$domDocument : \DOMDocument
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$domDocument |
An array of parsed feed entries
$entries : array
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$entries |
A pointer for the iterator to keep track of the entries array
$entriesKey : int
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$entriesKey |
Array of loaded extensions
$extensions : array
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$extensions |
Original Source URI (set if imported from a URI)
$originalSourceUri : string
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$originalSourceUri |
The base XPath query used to retrieve feed data
$xpath : \DOMXPath
Inherited
inherited_from |
\Zend\Feed\Reader\Feed\AbstractFeed::$$xpath |