API Documentation

Feed/Reader/FeedSet.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Feed_Reader
version
$Id: FeedSet.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Feed_Reader_FeedSet

Description

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.

Zend_Feed_Reader_FeedSet

Extends from
ArrayObject
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Feed_Reader
Properties
$rss
$rdf
$atom
Methods
addLinks
_absolutiseUri
_canonicalizePath
offsetGet

Description

Properties

$atom

 $atom = 'null'

Details

visibility
public
default
null
final
false
static
false

$rdf

 $rdf = 'null'

Details

visibility
public
default
null
final
false
static
false

$rss

 $rss = 'null'

Details

visibility
public
default
null
final
false
static
false

Methods

_absolutiseUri

_absolutiseUri(  $link,  $uri = null ) :

Attempt to turn a relative URI into an absolute URI

Arguments
$link
$uri
Details
visibility
protected
final
false
static
false

_canonicalizePath

_canonicalizePath(  $path ) :

Canonicalize relative path

Arguments
$path
Details
visibility
protected
final
false
static
false

addLinks

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.

Arguments
$links
DOMNodeList
$uri
string
Details
visibility
public
final
false
static
false

offsetGet

offsetGet( string $offset ) : mixed

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

Arguments
$offset
string
Output
mixed
Details
visibility
public
final
false
static
false
uses
Zend_Feed_Reader
Documentation was generated by DocBlox.