Feed/Reader/Extension/CreativeCommons/Feed.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 [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: Feed.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Feed_Reader_Extension_CreativeCommons_Feed
Package: Zend\Feed\Reader
- Parent(s)
- \Zend_Feed_Reader_Extension_FeedAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

array $_data = array()
Default value
array()Details- Type
- array
- Inherited_from
- \Zend_Feed_Reader_Extension_FeedAbstract::$$_data

\DOMDocument $_domDocument = null
inherited
Parsed feed data in the shape of a DOMDocument
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::$$_domDocument
Default value
nullDetails- Type
- \DOMDocument
- Inherited_from
- \Zend_Feed_Reader_Extension_FeedAbstract::$$_domDocument

\DOMXPath $_xpath = null
inherited
The base XPath query used to retrieve feed data
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::$$_xpath
Default value
nullDetails- Type
- \DOMXPath
- Inherited_from
- \Zend_Feed_Reader_Extension_FeedAbstract::$$_xpath

string $_xpathPrefix = ''
Default value
''Details- Type
- string
- Inherited_from
- \Zend_Feed_Reader_Extension_FeedAbstract::$$_xpathPrefix
Methods

__construct( $dom, string $type = null, $xpath = null) : void
Parameters
| Name | Type | Description |
|---|---|---|
| $dom | ||
| $type | string | Feed type |
| $xpath |

getEncoding() : string
inherited
Get the Feed's encoding
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getEncoding()
Returns
| Type | Description |
|---|---|
| string |

getLicense( $index = 0) : string | nullGet the entry license
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $index |
| Type | Description |
|---|---|
| string | null |

getXpath() : string
inherited
Get the DOMXPath object
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getXpath()
Returns
| Type | Description |
|---|---|
| string |

getXpathPrefix() : string
inherited
Get the XPath prefix
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::getXpathPrefix()
Returns
| Type | Description |
|---|---|
| string |

setXpath(\DOMXPath $xpath) : \Zend_Feed_Reader_Extension_EntryAbstract
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $xpath | \DOMXPath |
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Extension_EntryAbstract |

setXpathPrefix( $prefix) : \Zend_Feed_Reader_Feed_Atom
inherited
Set the XPath prefix
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::setXpathPrefix()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $prefix |
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Feed_Atom |

toArray() : array
inherited
Return the feed as an array
Inherited from: \Zend_Feed_Reader_Extension_FeedAbstract::toArray()
Returns
| Type | Description |
|---|---|
| array |