Detailed Description
Definition at line 43 of file Feed.php.
Member Function Documentation
Make 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).
- Parameters:
-
| string | $var | The property to get. |
- Returns:
- mixed
Reimplemented from Zend_Gdata_App_FeedSourceParent.
Definition at line 79 of file Feed.php.
Adds an entry representation to the array of entries contained within this feed
- Parameters:
-
- Returns:
- Zend_Gdata_App_Feed Provides a fluent interface
Definition at line 218 of file Feed.php.
Get the number of entries in this feed object.
- Returns:
- integer Entry count.
Definition at line 132 of file Feed.php.
Required by the Iterator interface.
- Returns:
- mixed The current row, or null if no rows.
Definition at line 152 of file Feed.php.
| getDOM |
( |
$ |
doc = null, |
|
|
$ |
majorVersion = 1, |
|
|
$ |
minorVersion = null |
|
) |
| |
Gets the array of atom:entry elements contained within this atom:feed representation
- Returns:
- array Zend_Gdata_App_Entry array
Definition at line 193 of file Feed.php.
Retrieve the next set of results from this feed.
- Exceptions:
-
- Returns:
- mixed|null Returns the next set of results as a feed of the same class as this feed, or null if no results exist.
Definition at line 280 of file Feed.php.
Retrieve the previous set of results from this feed.
- Exceptions:
-
- Returns:
- mixed|null Returns the previous set of results as a feed of the same class as this feed, or null if no results exist.
Definition at line 301 of file Feed.php.
Required by the Iterator interface.
- Returns:
- mixed The current row number (starts at 0), or NULL if no rows
Definition at line 162 of file Feed.php.
Required by the Iterator interface.
- Returns:
- mixed The next row, or null if no more rows.
Definition at line 172 of file Feed.php.
Required by the ArrayAccess interface
- Parameters:
-
| int | $key | The index to check for existence |
- Returns:
- boolean
Definition at line 268 of file Feed.php.
Required by the ArrayAccess interface
- Parameters:
-
Definition at line 242 of file Feed.php.
Required by the ArrayAccess interface
- Parameters:
-
- Returns:
- void
Definition at line 231 of file Feed.php.
Required by the ArrayAccess interface
- Parameters:
-
Definition at line 255 of file Feed.php.
Required by the Iterator interface.
- Returns:
- void
Definition at line 142 of file Feed.php.
Sets the array of atom:entry elements contained within this atom:feed representation
- Parameters:
-
- Returns:
- Zend_Gdata_App_Feed Provides a fluent interface
Definition at line 205 of file Feed.php.
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.
- See also:
- _minorProtocolVersion
- Parameters:
-
| (int|NULL) | $value The minor protocol version to use. |
- Exceptions:
-
Reimplemented from Zend_Gdata_App_FeedEntryParent.
Definition at line 344 of file Feed.php.
Required by the Iterator interface.
- Returns:
- boolean Whether the iteration is valid
Definition at line 182 of file Feed.php.
Field Documentation
$_entry = array() [protected] |
$_entryIndex = 0 [protected] |
$_rootElement = 'feed' [protected] |
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/zend/Zend/Gdata/App/Feed.php