Feed/Reader/FeedSet.php

Show: PublicProtectedPrivateinherited
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Feed_Reader  
Version
$Id$  

\Zend_Feed_Reader_FeedSet

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

Properties

>VPropertypublic$atom = null
Default valuenullDetails
Type
n/a
>VPropertypublic$rdf = null
Default valuenullDetails
Type
n/a
>VPropertypublic$rss = null
Default valuenullDetails
Type
n/a

Methods

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

Attempt to turn a relative URI into an absolute URI

Parameters
NameTypeDescription
$link
$uri
methodprotected_canonicalizePath( $path) : void

Canonicalize relative path

Parameters
NameTypeDescription
$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
NameTypeDescription
$links\DOMNodeList
$uristring
methodpublicoffsetGet(string $offset) : mixed

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

Parameters
NameTypeDescription
$offsetstring
Returns
TypeDescription
mixed
Details
Uses
 
Documentation was generated by phpDocumentor 2.2.0 .