Zend\Feed\Reader\Extension\Syndication\Feed
Synopsis
class Feed
extends AbstractFeed
{
- // Inherited members from AbstractFeed
- protected array $data;
- protected DOMDocument $domDocument;
- protected DOMXPath $xpath;
- protected string $xpathPrefix;
- // methods
- public string getUpdatePeriod()
- public int getUpdateFrequency()
- public int getUpdateFrequencyAsTicks()
- public DateTime|null getUpdateBase()
- private mixed|null getData()
- protected void registerNamespaces()
- // Inherited methods from AbstractFeed
- public AbstractFeed setDomDocument()
- public DOMDocument getDomDocument()
- public string getEncoding()
- public AbstractFeed setType()
- public string getType()
- public array toArray()
- public AbstractEntry setXpath()
- public string getXpath()
- public string getXpathPrefix()
- public void setXpathPrefix()
- protected abstract void registerNamespaces()
Hierarchy
Members
protected
- $data
—
array
Parsed feed data - $domDocument
—
DOMDocument
Parsed feed data in the shape of a DOMDocument - $xpath
—
DOMXPath
The base XPath query used to retrieve feed data - $xpathPrefix
—
string
The XPath prefix
Methods
private
- getData() — Get the entry data specified by name
protected
- registerNamespaces() — Register Syndication namespaces
public
- getUpdateBase() — Get update base
- getUpdateFrequency() — Get update frequency
- getUpdateFrequencyAsTicks() — Get update frequency as ticks
- getUpdatePeriod() — Get update period
Inherited from Zend\Feed\Reader\Extension\AbstractFeed
protected
- registerNamespaces() — Register the default namespaces for the current feed format
public
- getDomDocument() — Get the DOM
- getEncoding() — Get the Feed's encoding
- getType() — Get the feed type
- getXpath() — Get the DOMXPath object
- getXpathPrefix() — Get the XPath prefix
- setDomDocument() — Set the DOM document
- setType() — Set the feed type
- setXpath() — Set the XPath query
- setXpathPrefix() — Set the XPath prefix
- toArray() — Return the feed as an array