Feed/Reader/Feed/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 [email protected] 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_Feed_Atom
Package: Zend_Feed_Reader
- Parent(s)
- \Zend_Feed_Reader_FeedAbstract
- Children
- \Zend_Feed_Reader_Feed_Atom_Source
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
__construct(\DOMDocument $dom, string $type = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$dom | \DOMDocument | |
$type | string |
getAuthor(int $index = 0) : string | null
Get a single author
Parameters
Returns
Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
string | null |
getCategories() : \Zend_Feed_Reader_Collection_Category
Get all categories
Returns
Type | Description |
---|---|
\Zend_Feed_Reader_Collection_Category |
getHubs() : array | null
Get an array of any supported Pusubhubbub endpoints
Returns
Type | Description |
---|---|
array | null |
getLastBuildDate() : string | null
Get the feed lastBuild date. This is not implemented in Atom.
Returns
Type | Description |
---|---|
string | null |