|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| save ($uri=null, $className=null, $extraHeaders=array()) | |
| delete () | |
| reload ($uri=null, $className=null, $extraHeaders=array()) | |
| getContent () | |
| setContent ($value) | |
| getPublished () | |
| setPublished ($value) | |
| getSource () | |
| setSource ($value) | |
| getSummary () | |
| setSummary ($value) | |
| getControl () | |
| setControl ($value) | |
Protected Member Functions | |
| takeChildFromDOM ($child) | |
Protected Attributes | |
| $_rootElement = 'entry' | |
| $_entryClassName = 'Zend_Gdata_App_Entry' | |
| $_content = null | |
| $_published = null | |
| $_source = null | |
| $_summary = null | |
| $_control = null | |
| $_edited = null | |
| delete | ( | ) |
Deletes this entry to the server using the referenced Zend_Http_Client to do a HTTP DELETE to the edit link stored in this entry's link collection.
| Zend_Gdata_App_Exception |
Definition at line 220 of file Entry.php.


| getContent | ( | ) |
Gets the value of the atom:content element
Definition at line 280 of file Entry.php.

| getControl | ( | ) |
Gets the value of the app:control element
Definition at line 372 of file Entry.php.

| getDOM | ( | $ | doc = null, |
| $ | majorVersion = 1, |
||
| $ | minorVersion = null |
||
| ) |
Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_App_FeedEntryParent.
Reimplemented in Zend_Gdata_YouTube_UserProfileEntry, Zend_Gdata_Photos_PhotoEntry, Zend_Gdata_Photos_AlbumEntry, Zend_Gdata_YouTube_VideoEntry, Zend_Gdata_YouTube_SubscriptionEntry, Zend_Gdata_Photos_UserEntry, Zend_Gdata_Books_VolumeEntry, Zend_Gdata_Gapps_UserEntry, Zend_Gdata_YouTube_PlaylistListEntry, Zend_Gdata_YouTube_InboxEntry, Zend_Gdata_Kind_EventEntry, Zend_Gdata_Photos_CommentEntry, Zend_Gdata_YouTube_ActivityEntry, Zend_Gdata_Gapps_EmailListEntry, Zend_Gdata_Gapps_NicknameEntry, Zend_Gdata_Calendar_ListEntry, Zend_Gdata_Gapps_EmailListRecipientEntry, Zend_Gdata_Photos_TagEntry, Zend_Gdata_Exif_Entry, Zend_Gdata_YouTube_ContactEntry, Zend_Gdata_Health_ProfileEntry, Zend_Gdata_Gbase_Entry, Zend_Gdata_Media_Entry, Zend_Gdata_YouTube_PlaylistVideoEntry, Zend_Gdata_Calendar_EventEntry, Zend_Gdata_Spreadsheets_WorksheetEntry, Zend_Gdata_Spreadsheets_ListEntry, Zend_Gdata_Health_ProfileListEntry, Zend_Gdata_Geo_Entry, Zend_Gdata_Spreadsheets_CellEntry, and Zend_Gdata_Entry.
| getPublished | ( | ) |
Sets the value of the atom:published element This represents the publishing date for an entry
| getSource | ( | ) |
Gets the value of the atom:source element
| getSummary | ( | ) |
Gets the value of the atom:summary element This represents a textual summary of this entry's content
Definition at line 349 of file Entry.php.

Reload the current entry. Returns a new copy of the entry as returned by the server, or null if no changes exist. This does not modify the current entry instance.
| string|null | The URI to send requests to, or null if $data contains the URI. | |
| string|null | The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used. | |
| array | $extraHeaders | Extra headers to add to the request, as an array of string-based key/value pairs. |
| Zend_Gdata_App_Exception |
Definition at line 241 of file Entry.php.

Uploads changes in this entry to the server using Zend_Gdata_App
| string | null | $uri | The URI to send requests to, or null if $data contains the URI. |
| string | null | $className | The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used. |
| array | $extraHeaders | Extra headers to add to the request, as an array of string-based key/value pairs. |
| Zend_Gdata_App_Exception |
Definition at line 204 of file Entry.php.

| setContent | ( | $ | value | ) |
Sets the value of the atom:content element
| Zend_Gdata_App_Extension_Content | $value |
| setControl | ( | $ | value | ) |
Sets the value of the app:control element
| Zend_Gdata_App_Extension_Control | $value |
| setPublished | ( | $ | value | ) |
Sets the value of the atom:published element This represents the publishing date for an entry
| Zend_Gdata_App_Extension_Published | $value |
| setSource | ( | $ | value | ) |
Sets the value of the atom:source element
| Zend_Gdata_App_Extension_Source | $value |
| setSummary | ( | $ | value | ) |
Sets the value of the atom:summary element This represents a textual summary of this entry's content
| Zend_Gdata_App_Extension_Summary | $value |
Definition at line 361 of file Entry.php.

| takeChildFromDOM | ( | $ | child | ) | [protected] |
Given a child DOMNode, tries to determine how to map the data into object instance members. If no mapping is defined, Extension_Element objects are created and stored in an array.
| DOMNode | $child | The DOMNode needed to be handled |
Reimplemented from Zend_Gdata_App_FeedEntryParent.
Reimplemented in Zend_Gdata_YouTube_UserProfileEntry, Zend_Gdata_Photos_PhotoEntry, Zend_Gdata_Photos_AlbumEntry, Zend_Gdata_YouTube_VideoEntry, Zend_Gdata_Books_VolumeEntry, Zend_Gdata_YouTube_SubscriptionEntry, Zend_Gdata_Photos_UserEntry, Zend_Gdata_Kind_EventEntry, Zend_Gdata_Gapps_UserEntry, Zend_Gdata_YouTube_PlaylistListEntry, Zend_Gdata_YouTube_InboxEntry, Zend_Gdata_YouTube_ActivityEntry, Zend_Gdata_Photos_CommentEntry, Zend_Gdata_Gapps_EmailListEntry, Zend_Gdata_Gapps_NicknameEntry, Zend_Gdata_Calendar_ListEntry, Zend_Gdata_Gapps_EmailListRecipientEntry, Zend_Gdata_Photos_TagEntry, Zend_Gdata_Exif_Entry, Zend_Gdata_YouTube_ContactEntry, Zend_Gdata_Health_ProfileEntry, Zend_Gdata_Gbase_Entry, Zend_Gdata_Media_Entry, Zend_Gdata_Spreadsheets_WorksheetEntry, Zend_Gdata_YouTube_PlaylistVideoEntry, Zend_Gdata_Calendar_EventEntry, Zend_Gdata_Spreadsheets_ListEntry, Zend_Gdata_Health_ProfileListEntry, Zend_Gdata_Geo_Entry, Zend_Gdata_Entry, Zend_Gdata_Spreadsheets_CellEntry, and Zend_Gdata_YouTube_MediaEntry.
Definition at line 151 of file Entry.php.

$_entryClassName = 'Zend_Gdata_App_Entry' [protected] |
Reimplemented in Zend_Gdata_YouTube_UserProfileEntry, Zend_Gdata_Photos_PhotoEntry, Zend_Gdata_Photos_AlbumEntry, Zend_Gdata_YouTube_VideoEntry, Zend_Gdata_Photos_UserEntry, Zend_Gdata_YouTube_SubscriptionEntry, Zend_Gdata_Gapps_UserEntry, Zend_Gdata_Photos_CommentEntry, Zend_Gdata_Calendar_EventEntry, Zend_Gdata_YouTube_PlaylistListEntry, Zend_Gdata_YouTube_ActivityEntry, Zend_Gdata_Gapps_EmailListEntry, Zend_Gdata_Gapps_NicknameEntry, Zend_Gdata_YouTube_InboxEntry, Zend_Gdata_Gapps_EmailListRecipientEntry, Zend_Gdata_Photos_TagEntry, Zend_Gdata_Exif_Entry, Zend_Gdata_Gbase_Entry, Zend_Gdata_Health_ProfileEntry, Zend_Gdata_YouTube_ContactEntry, Zend_Gdata_Geo_Entry, Zend_Gdata_Media_Entry, Zend_Gdata_Spreadsheets_WorksheetEntry, Zend_Gdata_YouTube_MediaEntry, Zend_Gdata_Gbase_ItemEntry, Zend_Gdata_Gbase_SnippetEntry, Zend_Gdata_Health_ProfileListEntry, Zend_Gdata_Entry, Zend_Gdata_Spreadsheets_CellEntry, Zend_Gdata_Spreadsheets_ListEntry, Zend_Gdata_YouTube_CommentEntry, Zend_Gdata_YouTube_PlaylistVideoEntry, and Zend_Gdata_Spreadsheets_SpreadsheetEntry.
$_rootElement = 'entry' [protected] |
Reimplemented from Zend_Gdata_App_Base.