Feed/Reader/FeedSet.php
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed_Reader
- Version
- $Id: FeedSet.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Feed_Reader_FeedSet
- Parent(s)
- \ArrayObject
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


_absolutiseUri( $link, $uri = null) : void
Attempt to turn a relative URI into an absolute URI
Name | Type | Description |
---|---|---|
$link | ||
$uri |


addLinks(\DOMNodeList $links, string $uri) : void
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.
Name | Type | Description |
---|---|---|
$links | \DOMNodeList | |
$uri | string |