Zend Framework
1.12
|
Public Member Functions | |
getAuthor ($index=0) | |
Get a single author. | |
getAuthors () | |
Get an array with feed authors. | |
getCopyright () | |
Get the copyright entry. | |
getDateCreated () | |
Get the feed creation date. | |
getDateModified () | |
Get the feed modification date. | |
getDescription () | |
Get the feed description. | |
getGenerator () | |
Get the feed generator entry. | |
getId () | |
Get the feed ID. | |
getLanguage () | |
Get the feed language. | |
getImage () | |
Get the feed image. | |
getIcon () | |
Get the feed image. | |
getBaseUrl () | |
Get the base URI of the feed (if set). | |
getLink () | |
Get a link to the source website. | |
getFeedLink () | |
Get a link to the feed's XML Url. | |
getHubs () | |
Get an array of any supported Pusubhubbub endpoints. | |
getTitle () | |
Get the feed title. | |
getCategories () | |
Get all categories. | |
![]() | |
__construct (DomDocument $dom, $type=null, DOMXPath $xpath=null) | |
Constructor. | |
getDomDocument () | |
Get the DOM. | |
getEncoding () | |
Get the Feed's encoding. | |
getType () | |
Get the feed type. | |
toArray () | |
Return the feed as an array. | |
setXpath (DOMXPath $xpath) | |
Set the XPath query. | |
getXpath () | |
Get the DOMXPath object. | |
getXpathPrefix () | |
Get the XPath prefix. | |
setXpathPrefix ($prefix) | |
Set the XPath prefix. | |
Protected Member Functions | |
_getAuthor (DOMElement $element) | |
Get an author entry in RSS format. | |
_absolutiseUri ($link) | |
Attempt to absolutise the URI, i.e. | |
_registerNamespaces () | |
Register the default namespaces for the current feed format. | |
_getAtomType () | |
Detect the presence of any Atom namespaces in use. | |
![]() | |
_registerNamespaces () | |
Register the default namespaces for the current feed format. | |
Additional Inherited Members | |
![]() | |
$_data = array() | |
$_domDocument = null | |
$_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 |
Detect the presence of any Atom namespaces in use.
|
protected |
Get an author entry in RSS format.
DOMElement | $element |
|
protected |
Register the default namespaces for the current feed format.
getAuthor | ( | $index = 0 | ) |
Get a single author.
int | $index |
getAuthors | ( | ) |
Get an array with feed authors.
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.
getCopyright | ( | ) |
Get the copyright entry.
getDateCreated | ( | ) |
Get the feed creation date.
getDateModified | ( | ) |
Get the feed modification date.
getDescription | ( | ) |
Get the feed description.
getFeedLink | ( | ) |
Get a link to the feed's XML Url.
getGenerator | ( | ) |
Get the feed generator entry.
getHubs | ( | ) |
Get an array of any supported Pusubhubbub endpoints.
getIcon | ( | ) |
Get the feed image.
getId | ( | ) |
Get the feed ID.
getImage | ( | ) |
Get the feed image.
getLanguage | ( | ) |
Get the feed language.
getLink | ( | ) |
Get a link to the source website.
getTitle | ( | ) |
Get the feed title.