Feed/Reader/Feed/Rss.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 [email protected] 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: Rss.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Feed_Reader_Feed_Rss

Package: Zend\Feed\Reader

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

Properties

Propertyprotectedarray $_data = array()
inherited

Parsed feed data

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_data
Default valuearray()Details
Type
array
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_data  
Propertyprotected\DOMDocument $_domDocument = null
inherited

Parsed feed data in the shape of a DOMDocument

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_domDocument
Default valuenullDetails
Type
\DOMDocument
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_domDocument  
Propertyprotectedarray $_entries = array()
inherited

An array of parsed feed entries

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_entries
Default valuearray()Details
Type
array
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_entries  
Propertyprotectedint $_entriesKey = 0
inherited

A pointer for the iterator to keep track of the entries array

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_entriesKey
Default value0Details
Type
int
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_entriesKey  
Propertyprotectedarray $_extensions = array()
inherited

Array of loaded extensions

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_extensions
Default valuearray()Details
Type
array
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_extensions  
Propertyprotectedstring $_originalSourceUri = null
inherited

Original Source URI (set if imported from a URI)

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_originalSourceUri
Default valuenullDetails
Type
string
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_originalSourceUri  
Propertyprotected\DOMXPath $_xpath = null
inherited

The base XPath query used to retrieve feed data

Inherited from: \Zend_Feed_Reader_FeedAbstract::$$_xpath
Default valuenullDetails
Type
\DOMXPath
Inherited_from
\Zend_Feed_Reader_FeedAbstract::$$_xpath  

Methods

methodpublic__call( $method,  $args) : void
inherited

Inherited from: \Zend_Feed_Reader_FeedAbstract::__call()
Parameters
Name Type Description
$method
$args
methodpublic__construct(\DOMDocument $dom, string $type = null) : void

Constructor

Parameters
Name Type Description
$dom \DOMDocument
$type string
methodprotected_indexEntries() : void

Read all entries to the internal entries array

methodprotected_loadExtensions() : void
methodprotected_registerNamespaces() : void

Register the default namespaces for the current feed format

methodpubliccount() : int
inherited

Get the number of feed entries.

Inherited from: \Zend_Feed_Reader_FeedAbstract::count()

Required by the Iterator interface.

Returns
Type Description
int
methodpubliccurrent() : \Zend_Feed_Reader_EntryInterface
inherited

Return the current entry

Inherited from: \Zend_Feed_Reader_FeedAbstract::current()
Returns
Type Description
\Zend_Feed_Reader_EntryInterface
methodpublicgetAuthor(int $index = 0) : string | null

Get a single author

Parameters
Name Type Description
$index int
Returns
Type Description
string | null
methodpublicgetAuthors() : array

Get an array with feed authors

Returns
Type Description
array
methodpublicgetCategories() : \Zend_Feed_Reader_Collection_Category

Get all categories

Returns
Type Description
\Zend_Feed_Reader_Collection_Category
methodpublicgetCopyright() : string | null

Get the copyright entry

Returns
Type Description
string | null
methodpublicgetDateCreated() : string | null

Get the feed creation date

Returns
Type Description
string | null
methodpublicgetDateModified() : \Zend_Date

Get the feed modification date

Returns
Type Description
\Zend_Date
methodpublicgetDescription() : string | null

Get the feed description

Returns
Type Description
string | null
methodpublicgetDomDocument() : \DOMDocument
inherited

Get the DOM

Inherited from: \Zend_Feed_Reader_FeedAbstract::getDomDocument()
Returns
Type Description
\DOMDocument
methodpublicgetElement() : \DOMElement
inherited

Get the DOMElement representing the items/feed element

Inherited from: \Zend_Feed_Reader_FeedAbstract::getElement()
Returns
Type Description
\DOMElement
methodpublicgetEncoding() : string
inherited

Get the Feed's encoding

Inherited from: \Zend_Feed_Reader_FeedAbstract::getEncoding()
Returns
Type Description
string
methodpublicgetExtension(string $name) : \Zend_Feed_Reader_Extension_FeedAbstract
inherited

Return an Extension object with the matching name (postfixed with _Feed)

Inherited from: \Zend_Feed_Reader_FeedAbstract::getExtension()
Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_Feed_Reader_Extension_FeedAbstract
methodpublicgetExtensions() : void
methodpublicgetFeedLink() : string | null

Get a link to the feed XML

Returns
Type Description
string | null
methodpublicgetGenerator() : string | null

Get the feed generator entry

Returns
Type Description
string | null
methodpublicgetHubs() : array | null

Get an array of any supported Pusubhubbub endpoints

Returns
Type Description
array | null
methodpublicgetId() : string | null

Get the feed ID

Returns
Type Description
string | null
methodpublicgetImage() : array | null

Get the feed image data

Returns
Type Description
array | null
methodpublicgetLanguage() : string | null

Get the feed language

Returns
Type Description
string | null
methodpublicgetLastBuildDate() : \Zend_Date

Get the feed lastBuild date

Returns
Type Description
\Zend_Date
methodpublicgetLink() : string | null

Get a link to the feed

Returns
Type Description
string | null
methodpublicgetOriginalSourceUri() : string | null
inherited

Get an original source URI for the feed being parsed.

Inherited from: \Zend_Feed_Reader_FeedAbstract::getOriginalSourceUri()

Returns null if unset or the feed was not imported from a URI.

Returns
Type Description
string | null
methodpublicgetTitle() : string | null

Get the feed title

Returns
Type Description
string | null
methodpublicgetType() : string
inherited

Get the feed type

Inherited from: \Zend_Feed_Reader_FeedAbstract::getType()
Returns
Type Description
string
methodpublicgetXpath() : \DOMXPath
inherited

Get the DOMXPath object for this feed

Inherited from: \Zend_Feed_Reader_FeedAbstract::getXpath()
Returns
Type Description
\DOMXPath
methodpublickey() : \unknown
inherited

Return the current feed key

Inherited from: \Zend_Feed_Reader_FeedAbstract::key()
Returns
Type Description
\unknown
methodpublicnext() : void
inherited

Move the feed pointer forward

Inherited from: \Zend_Feed_Reader_FeedAbstract::next()
methodpublicrewind() : void
inherited

Reset the pointer in the feed object

Inherited from: \Zend_Feed_Reader_FeedAbstract::rewind()
methodpublicsaveXml() : string
inherited

Get feed as xml

Inherited from: \Zend_Feed_Reader_FeedAbstract::saveXml()
Returns
Type Description
string
methodpublicsetOriginalSourceUri(string $uri) : void
inherited

Set an original source URI for the feed being parsed.

Inherited from: \Zend_Feed_Reader_FeedAbstract::setOriginalSourceUri()

This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.

Parameters
Name Type Description
$uri string
methodpublicvalid() : boolean
inherited

Check to see if the iterator is still valid

Inherited from: \Zend_Feed_Reader_FeedAbstract::valid()
Returns
Type Description
boolean
Documentation was generated by phpDocumentor 2.0.0a8.