Zend\Feed\Reader\Extension\CreativeCommons\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 getLicense()
- public array getLicenses()
- 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 Creative Commons namespaces
public
- getLicense() — Get the entry license
- getLicenses() — Get the entry licenses
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