Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_App_Entry Class Reference
Inheritance diagram for Zend_Gdata_App_Entry:
Collaboration diagram for Zend_Gdata_App_Entry:

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

Detailed Description

Definition at line 68 of file Entry.php.


Member Function Documentation

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.

Returns:
void
Exceptions:
Zend_Gdata_App_Exception

Definition at line 220 of file Entry.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Gets the value of the atom:content element

Returns:
Zend_Gdata_App_Extension_Content

Definition at line 280 of file Entry.php.

Here is the caller graph for this function:

Gets the value of the app:control element

Returns:
Zend_Gdata_App_Extension_Control

Definition at line 372 of file Entry.php.

Here is the caller graph for this function:

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

Sets the value of the atom:published element This represents the publishing date for an entry

Returns:
Zend_Gdata_App_Extension_Published

Definition at line 303 of file Entry.php.

getSource ( )

Gets the value of the atom:source element

Returns:
Zend_Gdata_App_Extension_Source

Definition at line 326 of file Entry.php.

Gets the value of the atom:summary element This represents a textual summary of this entry's content

Returns:
Zend_Gdata_App_Extension_Summary

Definition at line 349 of file Entry.php.

Here is the caller graph for this function:

reload ( uri = null,
className = null,
extraHeaders = array() 
)

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.

Parameters:
string|nullThe URI to send requests to, or null if $data contains the URI.
string|nullThe name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used.
array$extraHeadersExtra headers to add to the request, as an array of string-based key/value pairs.
Returns:
mixed A new instance of the current entry with updated data, or null if the server reports that no changes have been made.
Exceptions:
Zend_Gdata_App_Exception

Definition at line 241 of file Entry.php.

Here is the call graph for this function:

save ( uri = null,
className = null,
extraHeaders = array() 
)

Uploads changes in this entry to the server using Zend_Gdata_App

Parameters:
string | null$uriThe URI to send requests to, or null if $data contains the URI.
string | null$classNameThe name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used.
array$extraHeadersExtra headers to add to the request, as an array of string-based key/value pairs.
Returns:
Zend_Gdata_App_Entry The updated entry.
Exceptions:
Zend_Gdata_App_Exception

Definition at line 204 of file Entry.php.

Here is the call graph for this function:

setContent ( value)

Sets the value of the atom:content element

Parameters:
Zend_Gdata_App_Extension_Content$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 291 of file Entry.php.

setControl ( value)

Sets the value of the app:control element

Parameters:
Zend_Gdata_App_Extension_Control$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 383 of file Entry.php.

setPublished ( value)

Sets the value of the atom:published element This represents the publishing date for an entry

Parameters:
Zend_Gdata_App_Extension_Published$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 315 of file Entry.php.

setSource ( value)

Sets the value of the atom:source element

Parameters:
Zend_Gdata_App_Extension_Source$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 337 of file Entry.php.

setSummary ( value)

Sets the value of the atom:summary element This represents a textual summary of this entry's content

Parameters:
Zend_Gdata_App_Extension_Summary$value
Returns:
Zend_Gdata_App_Entry Provides a fluent interface

Definition at line 361 of file Entry.php.

Here is the caller graph for this function:


Field Documentation

$_content = null [protected]

Definition at line 90 of file Entry.php.

$_control = null [protected]

Definition at line 118 of file Entry.php.

$_edited = null [protected]

Definition at line 125 of file Entry.php.

$_published = null [protected]

Definition at line 97 of file Entry.php.

$_rootElement = 'entry' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 76 of file Entry.php.

$_source = null [protected]

Definition at line 104 of file Entry.php.

$_summary = null [protected]

Definition at line 111 of file Entry.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations