API Documentation

Feed/Reader/FeedSet.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Reader  
version
$Id: FeedSet.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Feed_Reader_FeedSet

Extends from
\ArrayObject
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Feed_Reader  

Properties

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

Methods

methodpublic__construct( ) : void

Inherited from:
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
methodpublicappend( ) : void

Inherited from:
methodpublicasort( ) : void

Inherited from:
methodpubliccount( ) : void

Inherited from:
methodpublicexchangeArray( ) : void

Inherited from:
methodpublicgetArrayCopy( ) : void

Inherited from:
methodpublicgetFlags( ) : void

Inherited from:
methodpublicgetIterator( ) : void

Inherited from:
methodpublicgetIteratorClass( ) : void

Inherited from:
methodpublicksort( ) : void

Inherited from:
methodpublicnatcasesort( ) : void

Inherited from:
methodpublicnatsort( ) : void

Inherited from:
methodpublicoffsetExists( ) : void

Inherited from:
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  
methodpublicoffsetSet( ) : void

Inherited from:
methodpublicoffsetUnset( ) : void

Inherited from:
methodpublicserialize( ) : void

Inherited from:
methodpublicsetFlags( ) : void

Inherited from:
methodpublicsetIteratorClass( ) : void

Inherited from:
methodpublicuasort( ) : void

Inherited from:
methodpublicuksort( ) : void

Inherited from:
methodpublicunserialize( ) : void

Inherited from:
Documentation was generated by DocBlox 0.13.3.