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.
Atom feed class
array $_entry = 'array'Cache of feed entries.
Detailsint $_entryIndex = '0'Current location in $_entry array
Detailsstring $_rootElement = 'feed'The root xml element of this data element
Details__get(
string $var
)
:
mixedMake accessing some individual elements of the feed easier.
Special accessors 'entry' and 'entries' are provided so that if you wish to iterate over an Atom feed's entries, you can do so using foreach ($feed->entries as $entry) or foreach ($feed->entry as $entry).
DetailsaddEntry(
Zend_Gdata_App_Entry $value
)
:
Zend_Gdata_App_FeedAdds an entry representation to the array of entries contained within this feed
Detailscount(
)
:
integerGet the number of entries in this feed object.
Detailscurrent(
)
:
mixedRequired by the Iterator interface.
DetailsgetDOM(
DOMDocument $doc
=
null, $majorVersion
=
1, $minorVersion
=
null
)
:
DOMElementRetrieves the DOM model representing this object and all children
DetailsgetEntry(
)
:
arrayGets the array of atom:entry elements contained within this atom:feed representation
DetailsgetNextFeed(
)
:
mixed|nullRetrieve the next set of results from this feed.
DetailsgetPreviousFeed(
)
:
mixed|nullRetrieve the previous set of results from this feed.
Detailskey(
)
:
mixedRequired by the Iterator interface.
Detailsnext(
)
:
mixedRequired by the Iterator interface.
DetailsoffsetExists(
int $key
)
:
booleanRequired by the ArrayAccess interface
DetailsoffsetGet(
int $key
)
:
Required by the ArrayAccess interface
DetailsoffsetSet(
int $key, Zend_Gdata_App_Entry $value
)
:
voidRequired by the ArrayAccess interface
DetailsoffsetUnset(
int $key
)
:
Required by the ArrayAccess interface
Detailsrewind(
)
:
voidRequired by the Iterator interface.
DetailssetEntry(
array $value
)
:
Zend_Gdata_App_FeedSets the array of atom:entry elements contained within this atom:feed representation
DetailssetMajorProtocolVersion(
(int|NULL) $value
)
:
Set the major protocol version that should be used. Values < 1 will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.
This value will be propogated to all child entries.
DetailssetMinorProtocolVersion(
(int|NULL) $value
)
:
Set the minor protocol version that should be used. If set to NULL, no minor protocol version will be sent to the server. Values < 0 will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.
This value will be propogated to all child entries.
DetailstakeChildFromDOM(
DOMNode $child
)
:
Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
Detailsvalid(
)
:
booleanRequired by the Iterator interface.
Details