Feed/Reader/Extension/Thread/Entry.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-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed_Reader
- Version
- $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Feed_Reader_Extension_Thread_Entry
Package: Zend\Feed\Reader













- Parent(s)
- \Zend_Feed_Reader_Extension_EntryAbstract
- 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_EntryAbstract::$$_data

\DOMDocument $_domDocument = nullinherited
DOM document object
Inherited from:
\Zend_Feed_Reader_Extension_EntryAbstract::$$_domDocumentDefault value
nullDetails- Type
- \DOMDocument
- Inherited_from
- \Zend_Feed_Reader_Extension_EntryAbstract::$$_domDocument

int $_entryKey = 0inherited
Pointer to the current entry
Inherited from:
\Zend_Feed_Reader_Extension_EntryAbstract::$$_entryKeyDefault value
0Details- Type
- int
- Inherited_from
- \Zend_Feed_Reader_Extension_EntryAbstract::$$_entryKey

\DOMXPath $_xpath = nullDefault value
nullDetails- Type
- \DOMXPath
- Inherited_from
- \Zend_Feed_Reader_Extension_EntryAbstract::$$_xpath

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

__construct(\Zend_Feed_Entry_Abstract $entry, int $entryKey, string $type = null) : voidParameters
| Name | Type | Description |
|---|---|---|
| $entry | \Zend_Feed_Entry_Abstract | |
| $entryKey | int | |
| $type | string |

_getData(string $name) : mixed | nullGet the entry data specified by name
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| mixed | null |

getCommentCount() : int | nullGet the total number of threaded responses (i.e comments)
Returns
| Type | Description |
|---|---|
| int | null |

getEncoding() : stringinherited
Get the Entry's encoding
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getEncoding()Returns
| Type | Description |
|---|---|
| string |

getXpath() : \DOMXPathinherited
Get the XPath query object
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getXpath()Returns
| Type | Description |
|---|---|
| \DOMXPath |

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

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

setXpathPrefix(string $prefix) : \Zend_Feed_Reader_Extension_EntryAbstractinherited
Set the XPath prefix
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::setXpathPrefix()Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $prefix | string |
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Extension_EntryAbstract |

toArray() : arrayinherited
Serialize the entry to an array
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::toArray()Returns
| Type | Description |
|---|---|
| array |