Feed/Reader/Extension/Atom/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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed_Reader
- Version
- $Id$
\Zend_Feed_Reader_Extension_Atom_Entry
Package: Zend_Feed_Reader










- Parent(s)
- \Zend_Feed_Reader_Extension_EntryAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

_absolutiseUri( $link) : voidAttempt to absolutise the URI, i.e. if a relative URI apply the xml:base value as a prefix to turn into an absolute URI.
Parameters
| Name | Type | Description |
|---|---|---|
| $link |

_collectXhtml( $xhtml, $prefix) : voidParse out XHTML to remove the namespacing
Parameters
| Name | Type | Description |
|---|---|---|
| $xhtml | ||
| $prefix |

_getAuthor(\DOMElement $element) : stringGet an author entry
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $element | \DOMElement |
| Type | Description |
|---|---|
| string |

getAuthor(int $index = 0) : string | nullGet the specified author
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $index | int |
| Type | Description |
|---|---|
| string | null |

getBaseUrl() : string | nullGet the base URI of the feed (if set).
Returns
| Type | Description |
|---|---|
| string | null |

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

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

getCommentFeedLink( $type = 'atom') : stringReturns a URI pointing to a feed of all comments for this entry
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $type |
| Type | Description |
|---|---|
| string |

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

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

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