category |
Zend |
package |
Zend_Feed_Reader |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Feed_Reader_FeedAbstract |
Methods
__call()
__call($method, $args)
Inherited
Constructor
__construct(\DOMDocument $dom, string $type = null
)
inherited_from |
\Zend_Feed_Reader_FeedAbstract::__construct() |
Parameters
$dom
\DOMDocument
$type
string
Constructor
__construct(\DomDocument $domDocument, string $type = null
)
Inherited
Get the number of feed entries.
count() : integer
Inherited
Required by the Iterator interface.
Returns
integer
Return the current entry
current() : \Zend_Feed_Reader_EntryInterface
Inherited
Returns
\Zend_Feed_Reader_EntryInterface
Get a single author
getAuthor(integer $index = 0
) : string | null
Parameters
$index
integer
Returns
string
null
Get an array with feed authors
getAuthors() : array
Get all categories
getCategories() : \Zend_Feed_Reader_Collection_Category
Returns
\Zend_Feed_Reader_Collection_Category
Get the copyright entry
getCopyright() : string | null
Get the feed creation date
getDateCreated() : string | null
Get the feed modification date
getDateModified() : \Zend_Date
Get the feed description
getDescription() : string | null
Get the DOM
getDomDocument() : \DOMDocument
Inherited
Get the DOMElement representing the items/feed element
getElement() : \DOMElement
Inherited
Get the Feed's encoding
getEncoding() : string
Inherited
Return an Extension object with the matching name (postfixed with _Feed)
getExtension(string $name) : \Zend_Feed_Reader_Extension_FeedAbstract
Inherited
Parameters
$name
string
Returns
\Zend_Feed_Reader_Extension_FeedAbstract
getExtensions()
getExtensions()
Inherited
Get a link to the feed XML
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 the feed image data
getImage() : array | null
Get the feed language
getLanguage() : string | null
Get the feed lastBuild date
getLastBuildDate() : \Zend_Date
Get a link to the feed
getLink() : 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.
getOriginalSourceUri() : string | null
Inherited
Get the feed title
getTitle() : string | null
Get the feed type
getType() : string
Inherited
Get the DOMXPath object for this feed
getXpath() : \DOMXPath
Inherited
Return the current feed key
key() : \unknown
Inherited
Move the feed pointer forward
next()
Inherited
Reset the pointer in the feed object
rewind()
Inherited
Get feed as xml
saveXml() : string
Inherited
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.
setOriginalSourceUri(string $uri)
Inherited
Check to see if the iterator is still valid
valid() : boolean
Inherited
Read all entries to the internal entries array
_indexEntries()
inherited_from |
\Zend_Feed_Reader_FeedAbstract::_indexEntries() |
Read all entries to the internal entries array
_indexEntries()
Inherited
_loadExtensions()
_loadExtensions()
Inherited
Register the default namespaces for the current feed format
_registerNamespaces()
inherited_from |
\Zend_Feed_Reader_FeedAbstract::_registerNamespaces() |
Register the default namespaces for the current feed format
_registerNamespaces()
Inherited
Properties
Parsed feed data
$_data : array
Parsed feed data in the shape of a DOMDocument
$_domDocument : \DOMDocument
An array of parsed feed entries
$_entries : array
A pointer for the iterator to keep track of the entries array
$_entriesKey : integer
Array of loaded extensions
$_extensions : array
Original Source URI (set if imported from a URI)
$_originalSourceUri : string
The base XPath query used to retrieve feed data
$_xpath : \DOMXPath