Zend\Feed\Reader\Extension\AbstractEntry
Synopsis
class AbstractEntry
{
- // members
- protected array $data;
- protected DOMDocument $domDocument;
- protected DOMElement $entry;
- protected integer $entryKey;
- protected DOMXPath $xpath;
- protected string $xpathPrefix;
- // methods
- 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
Extended by
- Zend\Feed\Reader\Extension\Podcast\Entry
- Zend\Feed\Reader\Extension\Content\Entry
- Zend\Feed\Reader\Extension\Atom\Entry
- Zend\Feed\Reader\Extension\CreativeCommons\Entry
- Zend\Feed\Reader\Extension\WellFormedWeb\Entry
- Zend\Feed\Reader\Extension\Thread\Entry
- Zend\Feed\Reader\Extension\DublinCore\Entry
- Zend\Feed\Reader\Extension\Slash\Entry
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 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