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.

int
$_entriesKey= '0'
A pointer for the iterator to keep track of the entries array
0
Details
string
$_originalSourceUri= 'null'
Original Source URI (set if imported from a URI)
null
Details
__construct(
\DomDocument $domDocument, string $type
=
null
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$domDocument | \DomDocument | The DOM object for the feed's XML |
$type | string | Feed type |

count(
)
:
int
Get the number of feed entries.
Required by the Iterator interface.
Type | Description |
---|---|
int |

current(
)
:
\Zend_Feed_Reader_EntryInterface
Return the current entry
Type | Description |
---|---|
\Zend_Feed_Reader_EntryInterface |

getAuthor(
int $index
=
0
)
:
string|null
Get a single author
Inherited from: \Zend_Feed_Reader_FeedInterface::getAuthor()Name | Type | Description |
---|---|---|
$index | int |
Type | Description |
---|---|
stringnull |

getAuthors(
)
:
array
Get an array with feed authors
Inherited from: \Zend_Feed_Reader_FeedInterface::getAuthors()Type | Description |
---|---|
array |

getCategories(
)
:
\Zend_Feed_Reader_Collection_Category
Get all categories
Inherited from: \Zend_Feed_Reader_FeedInterface::getCategories()Type | Description |
---|---|
\Zend_Feed_Reader_Collection_Category |

getCopyright(
)
:
string|null
Get the copyright entry
Inherited from: \Zend_Feed_Reader_FeedInterface::getCopyright()Type | Description |
---|---|
stringnull |

getDateCreated(
)
:
string|null
Get the feed creation date
Inherited from: \Zend_Feed_Reader_FeedInterface::getDateCreated()Type | Description |
---|---|
stringnull |

getDateModified(
)
:
string|null
Get the feed modification date
Inherited from: \Zend_Feed_Reader_FeedInterface::getDateModified()Type | Description |
---|---|
stringnull |

getDescription(
)
:
string|null
Get the feed description
Inherited from: \Zend_Feed_Reader_FeedInterface::getDescription()Type | Description |
---|---|
stringnull |

getElement(
)
:
\DOMElement
Get the DOMElement representing the items/feed element
Type | Description |
---|---|
\DOMElement |

getExtension(
string $name
)
:
\Zend_Feed_Reader_Extension_FeedAbstract
Return an Extension object with the matching name (postfixed with _Feed)
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
\Zend_Feed_Reader_Extension_FeedAbstract |

getFeedLink(
)
:
string|null
Get a link to the XML feed
Inherited from: \Zend_Feed_Reader_FeedInterface::getFeedLink()Type | Description |
---|---|
stringnull |

getGenerator(
)
:
string|null
Get the feed generator entry
Inherited from: \Zend_Feed_Reader_FeedInterface::getGenerator()Type | Description |
---|---|
stringnull |

getId(
)
:
string|null
Get the feed ID
Inherited from: \Zend_Feed_Reader_FeedInterface::getId()Type | Description |
---|---|
stringnull |

getLanguage(
)
:
string|null
Get the feed language
Inherited from: \Zend_Feed_Reader_FeedInterface::getLanguage()Type | Description |
---|---|
stringnull |

getLink(
)
:
string|null
Get a link to the HTML source
Inherited from: \Zend_Feed_Reader_FeedInterface::getLink()Type | Description |
---|---|
stringnull |

getOriginalSourceUri(
)
:
string|null
Get an original source URI for the feed being parsed. Returns null if unset or the feed was not imported from a URI.
Type | Description |
---|---|
stringnull |

getTitle(
)
:
string|null
Get the feed title
Inherited from: \Zend_Feed_Reader_FeedInterface::getTitle()Type | Description |
---|---|
stringnull |

setOriginalSourceUri(
string $uri
)
:
void
Set an original source URI for the feed being parsed. This value is returned from getFeedLink() method if the feed does not carry a self-referencing URI.
Name | Type | Description |
---|---|---|
$uri | string |