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


array $_data = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_data


\DOMDocument $_domDocument = null
null
Details- Type
- \DOMDocument
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_domDocument


array $_entries = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_entries


int $_entriesKey = 0
0
Details- Type
- int
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_entriesKey


array $_extensions = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_extensions


string $_originalSourceUri = null
null
Details- Type
- string
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_originalSourceUri


\DOMXPath $_xpath = null
null
Details- Type
- \DOMXPath
- Inherited_from
- \Zend_Feed_Reader_FeedAbstract::$$_xpath
Methods


__call( $method, $args) : void
Name | Type | Description |
---|---|---|
$method | ||
$args |


__construct(\DOMDocument $dom, string $type = null) : void
Constructor
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$type | string |


getAuthor(int $index = 0) : string | null
Get a single author
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
string | null |


getCategories() : \Zend_Feed_Reader_Collection_Category
Get all categories
Type | Description |
---|---|
\Zend_Feed_Reader_Collection_Category |


getElement() : \DOMElement
Get the DOMElement representing the items/feed element
Inherited from: \Zend_Feed_Reader_FeedAbstract::getElement()Type | Description |
---|---|
\DOMElement |


getExtension(string $name) : \Zend_Feed_Reader_Extension_FeedAbstract
Return an Extension object with the matching name (postfixed with _Feed)
Inherited from: \Zend_Feed_Reader_FeedAbstract::getExtension()Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Feed_Reader_Extension_FeedAbstract |


getHubs() : array | null
Get an array of any supported Pusubhubbub endpoints
Type | Description |
---|---|
array | null |


getOriginalSourceUri() : string | null
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.
Type | Description |
---|---|
string | null |


getXpath() : \DOMXPath
Get the DOMXPath object for this feed
Inherited from: \Zend_Feed_Reader_FeedAbstract::getXpath()Type | Description |
---|---|
\DOMXPath |


rewind() : void
Reset the pointer in the feed object
Inherited from: \Zend_Feed_Reader_FeedAbstract::rewind()

setOriginalSourceUri(string $uri) : void
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.
Name | Type | Description |
---|---|---|
$uri | string |


valid() : boolean
Check to see if the iterator is still valid
Inherited from: \Zend_Feed_Reader_FeedAbstract::valid()Type | Description |
---|---|
boolean |