API Documentation

Zend/Feed/Reader/FeedSet.php

Show: inherited
Table of Contents

Zend Framework

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 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Feed_Reader_FeedSet

Package: Zend\Feed\Reader

Parent(s)
\ArrayObject
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertypublic  $atom= 'null'
Default valuenullDetails
Type
Propertypublic  $rdf= 'null'
Default valuenullDetails
Type
Propertypublic  $rss= 'null'
Default valuenullDetails
Type

Methods

methodprotected_absolutiseUri(  $link,  $uri = null ) : void

Attempt to turn a relative URI into an absolute URI

Parameters
Name Type Description
$link
$uri
methodprotected_canonicalizePath(  $path ) : void

Canonicalize relative path

Parameters
Name Type Description
$path
methodpublicaddLinks( \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.

Parameters
Name Type Description
$links \DOMNodeList
$uri string
methodpublicoffsetGet( string $offset ) : mixed

Supports lazy loading of feeds using Zend_Feed_Reader::import() but delegates any other operations to the parent class.

Parameters
Name Type Description
$offset string
Returns
Type Description
mixed
Details
Uses
\Zend_Feed_Reader  
Documentation was generated by DocBlox 0.15.1.