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.

addEntry(
\Zend_Feed_Writer_Entry $entry
)
:
void
Appends a Zend_Feed_Writer_Entry object representing a new entry/item the feed data container's internal group of entries.
Name | Type | Description |
---|---|---|
$entry | \Zend_Feed_Writer_Entry |

addTombstone(
$deleted
)
:
void
Appends a Zend_Feed_Writer_Deleted object representing a new entry tombstone to the feed data container's internal group of entries.
Name | Type | Description |
---|---|---|
$deleted |

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

createEntry(
)
:
\Zend_Feed_Writer_Entry
Creates a new Zend_Feed_Writer_Entry data container for use. This is NOT added to the current feed automatically, but is necessary to create a container with some initial values preset based on the current feed data.
Type | Description |
---|---|
\Zend_Feed_Writer_Entry |

createTombstone(
)
:
\Zend_Feed_Writer_Deleted
Creates a new Zend_Feed_Writer_Deleted data container for use. This is NOT added to the current feed automatically, but is necessary to create a container with some initial values preset based on the current feed data.
Type | Description |
---|---|
\Zend_Feed_Writer_Deleted |

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

export(
string $type, bool $ignoreExceptions
=
false
)
:
string
Attempt to build and return the feed resulting from the data set
Name | Type | Description |
---|---|---|
$type | string | The feed type "rss" or "atom" to export as |
$ignoreExceptions | bool |
Type | Description |
---|---|
string |

getEntry(
int $index
=
0
)
:
void
Retrieve a specific indexed entry from the internal queue. Entries must be added to a feed container in order to be indexed.
Name | Type | Description |
---|---|---|
$index | int |

orderByDate(
)
:
void
Orders all indexed entries by date, thus offering date ordered readable content where a parser (or Homo Sapien) ignores the generic rule that XML element order is irrelevant and has no intrinsic meaning.
Using this method will alter the original indexation.

removeEntry(
int $index
)
:
void
Removes a specific indexed entry from the internal queue. Entries must be added to a feed container in order to be indexed.
Name | Type | Description |
---|---|---|
$index | int |