Methods
Get a single author
getAuthor(int $index) : string | null
Parameters
$index
int
Returns
string
null
Get the base URI of the feed (if set).
getBaseUrl() : string | null
Get the copyright entry
getCopyright() : string | null
Get the feed creation date
getDateCreated() : \DateTime | null
Get the feed modification date
getDateModified() : \DateTime | null
Get the feed description
getDescription() : string | null
Get the DOM
getDomDocument() : \DOMDocument
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::getDomDocument() |
Returns
Get the Feed's encoding
getEncoding() : string
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::getEncoding() |
Returns
string
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 the feed image
getImage() : array | null
Get the feed language
getLanguage() : string | null
Get a link to the source website
getLink() : string | null
Get the feed title
getTitle() : string | null
Get the feed type
getType() : string
Inherited
If null, it will attempt to autodetect the type.
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::getType() |
Returns
string
Get the DOMXPath object
getXpath() : string
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::getXpath() |
Returns
string
Get the XPath prefix
getXpathPrefix() : string
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::getXpathPrefix() |
Returns
string
Set the DOM document
setDomDocument(\DOMDocument $dom) : \Zend\Feed\Reader\Extension\AbstractFeed
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::setDomDocument() |
Parameters
Returns
Set the XPath prefix
setXpathPrefix(string $prefix) : void
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::setXpathPrefix() |
Parameters
$prefix
string
Return the feed as an array
toArray() : array
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::toArray() |
Returns
array
Attempt to absolutise the URI, i.e.
absolutiseUri($link)
if a relative URI apply the
xml:base value as a prefix to turn into an absolute URI.
Parameters
$link
Detect the presence of any Atom namespaces in use
getAtomType()
Get an author entry in RSS format
getAuthorFromElement(\DOMElement $element) : string
Parameters
Returns
string
Register the default namespaces for the current feed format
registerNamespaces()
Properties
Parsed feed data
$data : array
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::$$data |
Parsed feed data in the shape of a DOMDocument
$domDocument : \DOMDocument
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::$$domDocument |
The base XPath query used to retrieve feed data
$xpath : \DOMXPath
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::$$xpath |
The XPath prefix
$xpathPrefix : string
Inherited
inherited_from |
\Zend\Feed\Reader\Extension\AbstractFeed::$$xpathPrefix |