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 [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: 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 = null
inherited
DOM document object
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::$$_domDocument
Default value
nullDetails- Type
- \DOMDocument
- Inherited_from
- \Zend_Feed_Reader_Extension_EntryAbstract::$$_domDocument

\Zend_Feed_Entry_Abstract $_entry = null
Default value
nullDetails- Type
- \Zend_Feed_Entry_Abstract
- Inherited_from
- \Zend_Feed_Reader_Extension_EntryAbstract::$$_entry

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

\DOMXPath $_xpath = null
Default 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) : void
Parameters
| 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() : string
inherited
Get the Entry's encoding
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::getEncoding()
Returns
| Type | Description |
|---|---|
| string |

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

getXpathPrefix() : string
inherited
Get the XPath prefix
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::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(string $prefix) : \Zend_Feed_Reader_Extension_EntryAbstract
inherited
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() : array
inherited
Serialize the entry to an array
Inherited from: \Zend_Feed_Reader_Extension_EntryAbstract::toArray()
Returns
| Type | Description |
|---|---|
| array |