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.
array $_entries = 'array'
Contains all entry objects
int $_entriesKey = '0'
A pointer for the iterator to keep track of the entries array
addEntry(
Zend_Feed_Writer_Entry $entry
)
:
Appends a Zend_Feed_Writer_Entry object representing a new entry/item the feed data container's internal group of entries.
addTombstone(
$deleted
)
:
Appends a Zend_Feed_Writer_Deleted object representing a new entry tombstone to the feed data container's internal group of entries.
count(
)
:
int
Get the number of feed entries.
Required by the Iterator interface.
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.
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.
current(
)
:
Zend_Feed_Reader_Entry_Interface
Return the current entry
export(
$type $type, $ignoreExceptions
=
false
)
:
string
Attempt to build and return the feed resulting from the data set
getEntry(
int $index
=
0
)
:
Retrieve a specific indexed entry from the internal queue. Entries must be added to a feed container in order to be indexed.
key(
)
:
unknown
Return the current feed key
next(
)
:
void
Move the feed pointer forward
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
)
:
Removes a specific indexed entry from the internal queue. Entries must be added to a feed container in order to be indexed.
rewind(
)
:
void
Reset the pointer in the feed object
valid(
)
:
boolean
Check to see if the iterator is still valid