Zend\Feed\Reader\Entry\AbstractEntry
Synopsis
class AbstractEntry
{
- // members
- protected array $data;
- protected DOMDocument $domDocument;
- protected DOMElement $entry;
- protected integer $entryKey;
- protected DOMXPath $xpath;
- protected array $extensions;
- // methods
- public void __construct()
- public DOMDocument getDomDocument()
- public DOMElement getElement()
- public string getEncoding()
- public string saveXml()
- public string getType()
- public DOMXPath getXpath()
- public AbstractEntry setXpath()
- public array getExtensions()
- public AbstractEntry getExtension()
- public mixed __call()
- protected void loadExtensions()
Hierarchy
Members
protected
- $data
—
array
Feed entry data - $domDocument
—
DOMDocument
DOM document object - $entry
—
DOMElement
Entry instance - $entryKey
—
int
Pointer to the current entry - $extensions
—
array
Registered extensions - $xpath
—
DOMXPath
XPath object
Methods
protected
- loadExtensions() — Load extensions from Zend\Feed\Reader\Reader
public
- __construct() — Constructor
- __call() — Method overloading: call given method on first extension implementing it
- getDomDocument() — Get the DOM
- getElement() — Get the entry element
- getEncoding() — Get the Entry's encoding
- getExtension() — Return an Extension object with the matching name (postfixed with _Entry)
- getExtensions() — Get registered extensions
- getType() — Get the entry type
- getXpath() — Get the XPath query object
- saveXml() — Get entry as xml
- setXpath() — Set the XPath query