Zend\Feed\Reader\Entry\Atom
Synopsis
class Atom
extends AbstractEntry
implements
EntryInterface
{
- // members
- protected string $xpathQuery;
- // Inherited members from AbstractEntry
- protected array $data;
- protected DOMDocument $domDocument;
- protected DOMElement $entry;
- protected integer $entryKey;
- protected DOMXPath $xpath;
- protected array $extensions;
- // methods
- public void __construct()
- public string|null getAuthor()
- public array getAuthors()
- public string getContent()
- public string getDateCreated()
- public string getDateModified()
- public string getDescription()
- public string getEnclosure()
- public string getId()
- public string getLink()
- public array getLinks()
- public string getPermalink()
- public string getTitle()
- public int getCommentCount()
- public string getCommentLink()
- public string getCommentFeedLink()
- public Category getCategories()
- public Source|null getSource()
- public void setXpath()
- // Inherited methods from AbstractEntry
- 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 - $xpathQuery
—
string
XPath query
Methods
public
- __construct() — Constructor
- getAuthor() — Get the specified author
- getAuthors() — Get an array with feed authors
- getCategories() — Get category data as a Reader\Reader_Collection_Category object
- getCommentCount() — Get the number of comments/replies for current entry
- getCommentFeedLink() — Returns a URI pointing to a feed of all comments for this entry
- getCommentLink() — Returns a URI pointing to the HTML page where comments can be made on this entry
- getContent() — Get the entry content
- getDateCreated() — Get the entry creation date
- getDateModified() — Get the entry modification date
- getDescription() — Get the entry description
- getEnclosure() — Get the entry enclosure
- getId() — Get the entry ID
- getLink() — Get a specific link
- getLinks() — Get all links
- getPermalink() — Get a permalink to the entry
- getSource() — Get source feed metadata from the entry
- getTitle() — Get the entry title
- setXpath() — Set the XPath query (incl. on all Extensions)
Inherited from Zend\Feed\Reader\Entry\AbstractEntry
protected
- loadExtensions() — Load extensions from Zend\Feed\Reader\Reader
public
- __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