Zend\Feed\Reader\Extension\DublinCore\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|null getAuthor()
- public array getAuthors()
- public string|null getCopyright()
- public string|null getDescription()
- public string|null getId()
- public string|null getLanguage()
- public string|null getTitle()
- public DateTime|null getDate()
- public Category getCategories()
- 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
protected
- registerNamespaces() — Register the default namespaces for the current feed format
public
- getAuthor() — Get a single author
- getAuthors() — Get an array with feed authors
- getCategories() — Get categories (subjects under DC)
- getCopyright() — Get the copyright entry
- getDate()
- getDescription() — Get the feed description
- getId() — Get the feed ID
- getLanguage() — Get the feed language
- getTitle() — Get the feed title
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