Feed/Reader/Entry/Atom.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_Entry_Atom
Package: Zend_Feed_Reader
- Implements
- Parent(s)
- \Zend_Feed_Reader_EntryAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct(\DOMElement $entry, int $entryKey, string $type = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$entry | \DOMElement | |
$entryKey | int | |
$type | string |
getAuthor(int $index = 0) : string | null
Get the specified author
Parameters
Returns
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
string | null |
getCategories() : \Zend_Feed_Reader_Collection_Category
Get category data as a Zend_Feed_Reader_Collection_Category object
Returns
Type | Description |
---|---|
\Zend_Feed_Reader_Collection_Category |
getCommentCount() : integer
Get the number of comments/replies for current entry
Returns
Type | Description |
---|---|
integer |
getCommentFeedLink() : string
Returns a URI pointing to a feed of all comments for this entry
Returns
Type | Description |
---|---|
string |
getCommentLink() : string
Returns a URI pointing to the HTML page where comments can be made on this entry
Returns
Type | Description |
---|---|
string |
getLink(int $index = 0) : string
Get a specific link
Parameters
Returns
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
string |
getSource() : \Zend_Feed_Reader_Feed_Atom_Source | null
Get source feed metadata from the entry
Returns
Type | Description |
---|---|
\Zend_Feed_Reader_Feed_Atom_Source | null |