Zend Framework
1.12
|
Public Member Functions | |
getAuthor ($index=0) | |
Get the specified author. | |
getAuthors () | |
Get an array with feed authors. | |
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. | |
getBaseUrl () | |
Get the base URI of the feed (if set). | |
getLink ($index=0) | |
Get a specific link. | |
getLinks () | |
Get all links. | |
getPermalink () | |
Get a permalink to the entry. | |
getTitle () | |
Get the entry title. | |
getCommentCount () | |
Get the number of comments/replies for current entry. | |
getCommentLink () | |
Returns a URI pointing to the HTML page where comments can be made on this entry. | |
getCommentFeedLink ($type= 'atom') | |
Returns a URI pointing to a feed of all comments for this entry. | |
getCategories () | |
Get all categories. | |
getSource () | |
Get source feed metadata from the entry. | |
![]() | |
__construct (DOMElement $entry, $entryKey, $type=null) | |
Constructor. | |
getDomDocument () | |
Get the DOM. | |
getEncoding () | |
Get the Entry's encoding. | |
getType () | |
Get the entry type. | |
setXpath (DOMXPath $xpath) | |
Set the XPath query. | |
getXpath () | |
Get the XPath query object. | |
toArray () | |
Serialize the entry to an array. | |
getXpathPrefix () | |
Get the XPath prefix. | |
setXpathPrefix ($prefix) | |
Set the XPath prefix. | |
Protected Member Functions | |
_collectXhtml ($xhtml, $prefix) | |
Parse out XHTML to remove the namespacing. | |
_absolutiseUri ($link) | |
Attempt to absolutise the URI, i.e. | |
_getAuthor (DOMElement $element) | |
Get an author entry. | |
_registerNamespaces () | |
Register the default namespaces for the current feed format. | |
_getAtomType () | |
Detect the presence of any Atom namespaces in use. | |
![]() | |
_registerNamespaces () | |
Register XML namespaces. | |
Additional Inherited Members | |
![]() | |
$_data = array() | |
$_domDocument = null | |
$_entry = null | |
$_entryKey = 0 | |
$_xpath = null | |
$_xpathPrefix = '' | |
|
protected |
Attempt to absolutise the URI, i.e.
if a relative URI apply the xml:base value as a prefix to turn into an absolute URI.
|
protected |
Parse out XHTML to remove the namespacing.
|
protected |
Detect the presence of any Atom namespaces in use.
|
protected |
Get an author entry.
DOMElement | $element |
|
protected |
Register the default namespaces for the current feed format.
getAuthor | ( | $index = 0 | ) |
Get the specified author.
int | $index |
getAuthors | ( | ) |
Get an array with feed authors.
TODO: Limit query to feed level els only!
getBaseUrl | ( | ) |
Get the base URI of the feed (if set).
getCategories | ( | ) |
Get all categories.
Since Atom 0.3 did not support categories, it would have used the Dublin Core extension. However there is a small possibility Atom 0.3 may have been retrofittied to use Atom 1.0 instead.
getCommentCount | ( | ) |
Get the number of comments/replies for current entry.
getCommentFeedLink | ( | $type = 'atom' | ) |
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 | ( | $index = 0 | ) |
Get a specific link.
int | $index |
getLinks | ( | ) |
Get all links.
getPermalink | ( | ) |
Get a permalink to the entry.
getSource | ( | ) |
Get source feed metadata from the entry.
getTitle | ( | ) |
Get the entry title.