Feed/Reader/Entry/Atom.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: Atom.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Feed_Reader_Entry_Atom
- Implements
- \Zend_Feed_Reader_EntryInterface
- Parent(s)
- \Zend_Feed_Reader_EntryAbstract
- 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_EntryAbstract::$$_data

\DOMDocument $_domDocument = nullnullDetails- Type
- \DOMDocument
- Inherited_from
- \Zend_Feed_Reader_EntryAbstract::$$_domDocument

\Zend_Feed_Entry_Interface $_entry = nullnullDetails- Type
- \Zend_Feed_Entry_Interface
- Inherited_from
- \Zend_Feed_Reader_EntryAbstract::$$_entry

int $_entryKey = 00Details- Type
- int
- Inherited_from
- \Zend_Feed_Reader_EntryAbstract::$$_entryKey

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

\DOMXPath $_xpath = nullnullDetails- Type
- \DOMXPath
- Inherited_from
- \Zend_Feed_Reader_EntryAbstract::$$_xpath
Methods

__call(string $method, array $args) : mixedMethod overloading: call given method on first extension implementing it
Inherited from: \Zend_Feed_Reader_EntryAbstract::__call()| Name | Type | Description |
|---|---|---|
| $method | string | |
| $args | array |
| Type | Description |
|---|---|
| mixed |
| Exception | Description |
|---|---|
| \Zend_Feed_Exception | if no extensions implements the method |

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

_loadExtensions() : voidLoad extensions from Zend_Feed_Reader
Inherited from: \Zend_Feed_Reader_EntryAbstract::_loadExtensions()
getAuthor(int $index = 0) : string | nullGet the specified author
| Name | Type | Description |
|---|---|---|
| $index | int |
| Type | Description |
|---|---|
| string | null |

getCategories() : \Zend_Feed_Reader_Collection_CategoryGet category data as a Zend_Feed_Reader_Collection_Category object
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Collection_Category |

getCommentCount() : integerGet the number of comments/replies for current entry
| Type | Description |
|---|---|
| integer |

getCommentFeedLink() : stringReturns a URI pointing to a feed of all comments for this entry
| Type | Description |
|---|---|
| string |

getCommentLink() : stringReturns a URI pointing to the HTML page where comments can be made on this entry
| Type | Description |
|---|---|
| string |

getExtension(string $name) : \Zend_Feed_Reader_Extension_EntryAbstractReturn an Extension object with the matching name (postfixed with _Entry)
Inherited from: \Zend_Feed_Reader_EntryAbstract::getExtension()| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Extension_EntryAbstract |

getLink(int $index = 0) : stringGet a specific link
| Name | Type | Description |
|---|---|---|
| $index | int |
| Type | Description |
|---|---|
| string |

getSource() : \Zend_Feed_Reader_Feed_Atom_Source | nullGet source feed metadata from the entry
| Type | Description |
|---|---|
| \Zend_Feed_Reader_Feed_Atom_Source | null |