Zend Framework
3.0
|
Public Member Functions | |
addLinks (DOMNodeList $links, $uri) | |
Import a DOMNodeList from any document containing a set of links for alternate versions of a document, which will normally refer to RSS/RDF/Atom feeds for the current document. | |
offsetGet ($offset) | |
Supports lazy loading of feeds using Reader::import() but delegates any other operations to the parent class. | |
Public Attributes | |
$rss = null | |
$rdf = null | |
$atom = null | |
Protected Member Functions | |
absolutiseUri ($link, $uri=null) | |
Attempt to turn a relative URI into an absolute URI. | |
canonicalizePath ($path) | |
Canonicalize relative path. | |
|
protected |
Attempt to turn a relative URI into an absolute URI.
addLinks | ( | DOMNodeList | $links, |
$uri | |||
) |
Import a DOMNodeList from any document containing a set of links for alternate versions of a document, which will normally refer to RSS/RDF/Atom feeds for the current document.
All such links are stored internally, however the first instance of each RSS, RDF or Atom type has its URI stored as a public property as a shortcut where the use case is simply to get a quick feed ref.
Note that feeds are not loaded at this point, but will be lazy loaded automatically when each links 'feed' array key is accessed.
DOMNodeList | $links | |
string | $uri |
|
protected |
Canonicalize relative path.
offsetGet | ( | $offset | ) |
Supports lazy loading of feeds using Reader::import() but delegates any other operations to the parent class.
string | $offset |
$atom = null |
$rdf = null |
$rss = null |