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


 __get(
          string $var
          )
        
        :
          mixed
__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).
| Name | Type | Description | 
|---|---|---|
| $var | string | The property to get. | 
| Type | Description | 
|---|---|
| mixed | 


 addEntry(
          \Zend_Gdata_App_Entry $value
          )
        
        :
          \Zend_Gdata_App_Feed
addEntry(
          \Zend_Gdata_App_Entry $value
          )
        
        :
          \Zend_Gdata_App_FeedAdds an entry representation to the array of entries contained within this feed
| Name | Type | Description | 
|---|---|---|
| $value | \Zend_Gdata_App_Entry | An individual entry to add. | 
| Type | Description | 
|---|---|
| \Zend_Gdata_App_Feed | Provides a fluent interface | 


 count(
          
          )
        
        :
          integer
count(
          
          )
        
        :
          integerGet the number of entries in this feed object.
| Type | Description | 
|---|---|
| integer | Entry count. | 


 current(
          
          )
        
        :
          mixed
current(
          
          )
        
        :
          mixedRequired by the Iterator interface.
| Type | Description | 
|---|---|
| mixed | The current row, or null if no rows. | 


 getDOM(
          \DOMDocument $doc
              =
              null,  $majorVersion
              =
              1,  $minorVersion
              =
              null
          )
        
        :
          \DOMElement
getDOM(
          \DOMDocument $doc
              =
              null,  $majorVersion
              =
              1,  $minorVersion
              =
              null
          )
        
        :
          \DOMElementRetrieves the DOM model representing this object and all children
| Name | Type | Description | 
|---|---|---|
| $doc | \DOMDocument | |
| $majorVersion | ||
| $minorVersion | 
| Type | Description | 
|---|---|
| \DOMElement | 


 getEntry(
          
          )
        
        :
          array
getEntry(
          
          )
        
        :
          arrayGets the array of atom:entry elements contained within this atom:feed representation
| Type | Description | 
|---|---|
| array | Zend_Gdata_App_Entry array | 


 getNextFeed(
          
          )
        
        :
          mixed|null
getNextFeed(
          
          )
        
        :
          mixed|nullRetrieve the next set of results from this feed.
| Type | Description | 
|---|---|
| mixed|null | Returns the next set of results as a feed of the same class as this feed, or null if no results exist. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_Exception | 


 getPreviousFeed(
          
          )
        
        :
          mixed|null
getPreviousFeed(
          
          )
        
        :
          mixed|nullRetrieve the previous set of results from this feed.
| Type | Description | 
|---|---|
| mixed|null | Returns the previous set of results as a feed of the same class as this feed, or null if no results exist. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_Exception | 


 key(
          
          )
        
        :
          mixed
key(
          
          )
        
        :
          mixedRequired by the Iterator interface.
| Type | Description | 
|---|---|
| mixed | The current row number (starts at 0), or NULL if no rows | 


 next(
          
          )
        
        :
          mixed
next(
          
          )
        
        :
          mixedRequired by the Iterator interface.
| Type | Description | 
|---|---|
| mixed | The next row, or null if no more rows. | 


 offsetExists(
          int $key
          )
        
        :
          boolean
offsetExists(
          int $key
          )
        
        :
          booleanRequired by the ArrayAccess interface
| Name | Type | Description | 
|---|---|---|
| $key | int | The index to check for existence | 
| Type | Description | 
|---|---|
| boolean | 


 offsetGet(
          int $key
          )
        
        :
          void
offsetGet(
          int $key
          )
        
        :
          voidRequired by the ArrayAccess interface
| Name | Type | Description | 
|---|---|---|
| $key | int | The index to get | 


 offsetSet(
          int $key, \Zend_Gdata_App_Entry $value
          )
        
        :
          void
offsetSet(
          int $key, \Zend_Gdata_App_Entry $value
          )
        
        :
          voidRequired by the ArrayAccess interface
| Name | Type | Description | 
|---|---|---|
| $key | int | The index to set | 
| $value | \Zend_Gdata_App_Entry | The value to set | 


 offsetUnset(
          int $key
          )
        
        :
          void
offsetUnset(
          int $key
          )
        
        :
          voidRequired by the ArrayAccess interface
| Name | Type | Description | 
|---|---|---|
| $key | int | The index to set | 


 setEntry(
          array $value
          )
        
        :
          \Zend_Gdata_App_Feed
setEntry(
          array $value
          )
        
        :
          \Zend_Gdata_App_FeedSets the array of atom:entry elements contained within this atom:feed representation
| Name | Type | Description | 
|---|---|---|
| $value | array | The array of Zend_Gdata_App_Entry elements | 
| Type | Description | 
|---|---|
| \Zend_Gdata_App_Feed | Provides a fluent interface | 


 setMajorProtocolVersion(
          \(int|\NULL) $value
          )
        
        :
          void
setMajorProtocolVersion(
          \(int|\NULL) $value
          )
        
        :
          voidSet 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.
| Name | Type | Description | 
|---|---|---|
| $value | \(int|\NULL) | The major protocol version to use. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_InvalidArgumentException | 


 setMinorProtocolVersion(
          \(int|\NULL) $value
          )
        
        :
          void
setMinorProtocolVersion(
          \(int|\NULL) $value
          )
        
        :
          voidSet 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.
| Name | Type | Description | 
|---|---|---|
| $value | \(int|\NULL) | The minor protocol version to use. | 
| Exception | Description | 
|---|---|
| \Zend_Gdata_App_InvalidArgumentException | 


 takeChildFromDOM(
          \DOMNode $child
          )
        
        :
          void
takeChildFromDOM(
          \DOMNode $child
          )
        
        :
          voidCreates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.
| Name | Type | Description | 
|---|---|---|
| $child | \DOMNode | The DOMNode to process |