Zend\Feed\Reader\Extension\DublinCore\Entry
Synopsis
class Entry
extends AbstractEntry
{
- // Inherited members from AbstractEntry
- protected array $data;
- protected DOMDocument $domDocument;
- protected DOMElement $entry;
- protected integer $entryKey;
- protected DOMXPath $xpath;
- protected string $xpathPrefix;
- // methods
- public string getAuthor()
- public array getAuthors()
- public Category getCategories()
- public string getContent()
- public string getDescription()
- public string getId()
- public string getTitle()
- public DateTime|null getDate()
- protected void registerNamespaces()
- // Inherited methods from AbstractEntry
- public AbstractEntry setEntryElement()
- public DOMElement getEntryElement()
- public AbstractEntry setEntryKey()
- public DOMDocument getDomDocument()
- public string getEncoding()
- public AbstractEntry setType()
- public string getType()
- public AbstractEntry setXpath()
- public DOMXPath getXpath()
- public array toArray()
- public string getXpathPrefix()
- public AbstractEntry setXpathPrefix()
- protected abstract void registerNamespaces()
Hierarchy
Members
protected
- $data
—
array
Feed entry data - $domDocument
—
DOMDocument
DOM document object - $entry
—
DOMElement
Entry instance - $entryKey
—
int
Pointer to the current entry - $xpath
—
DOMXPath
XPath object - $xpathPrefix
—
string
XPath query
Methods
protected
- registerNamespaces() — Register DC namespaces
public
- getAuthor() — Get an author entry
- getAuthors() — Get an array with feed authors
- getCategories() — Get categories (subjects under DC)
- getContent() — Get the entry content
- getDate()
- getDescription() — Get the entry description
- getId() — Get the entry ID
- getTitle() — Get the entry title
Inherited from Zend\Feed\Reader\Extension\AbstractEntry
protected
- registerNamespaces() — Register XML namespaces
public
- getDomDocument() — Get the DOM
- getEncoding() — Get the Entry's encoding
- getEntryElement() — Get the entry DOMElement
- getType() — Get the entry type
- getXpath() — Get the XPath query object
- getXpathPrefix() — Get the XPath prefix
- setEntryElement() — Set the entry DOMElement
- setEntryKey() — Set the entry key
- setType() — Set the entry type
- setXpath() — Set the XPath query
- setXpathPrefix() — Set the XPath prefix
- toArray() — Serialize the entry to an array