Gdata/App/Feed.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- App
- Version
- $Id$
\Zend_Gdata_App_Feed
- Implements
- Parent(s)
- \Zend_Gdata_App_FeedSourceParent < \Zend_Gdata_App_FeedEntryParent < \Zend_Gdata_App_Base
- Children
- \Zend_Gdata_Feed
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

__get(string $var) : mixedMake accessing some individual elements of the feed easier.
| Name | Type | Description |
|---|---|---|
| $var | string | The property to get. |
| Type | Description |
|---|---|
| mixed |

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

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

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) : \DOMElementRetrieves the DOM model representing this object and all children
| Name | Type | Description |
|---|---|---|
| $doc | \DOMDocument | |
| $majorVersion | ||
| $minorVersion |
| Type | Description |
|---|---|
| \DOMElement |

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

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 | 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() : mixedRequired by the Iterator interface.
| Type | Description |
|---|---|
| mixed | The current row number (starts at 0), or NULL if no rows |

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

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) : voidRequired by the ArrayAccess interface
| Name | Type | Description |
|---|---|---|
| $key | int | The index to get |

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) : voidRequired by the ArrayAccess interface
| Name | Type | Description |
|---|---|---|
| $key | int | The index to set |

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) : voidSet the major protocol version that should be used. Values < 1 will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.
| Name | Type | Description |
|---|---|---|
| $value | \(int | \NULL) | The major protocol version to use. |
| Exception | Description |
|---|---|
| \Zend_Gdata_App_InvalidArgumentException |

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

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 |