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

Public Member Functions

 setItemType ($value)
 addGbaseAttribute ($name, $text, $type=null)
 removeGbaseAttribute ($baseAttribute)
 save ($dryRun=false, $uri=null, $className=null, $extraHeaders=array())
 delete ($dryRun=false)

Protected Attributes

 $_entryClassName = 'Zend_Gdata_Gbase_ItemEntry'

Detailed Description

Definition at line 40 of file ItemEntry.php.


Member Function Documentation

addGbaseAttribute ( name,
text,
type = null 
)

Adds a custom attribute to the entry in the following format: <g:[$name] type='[$type]'>[$value]</g:[$name]>

Parameters:
string$nameThe name of the attribute
string$valueThe text value of the attribute
string$type(optional) The type of the attribute. e.g.: 'text', 'number', 'floatUnit'
Returns:
Zend_Gdata_Gbase_ItemEntry Provides a fluent interface

Definition at line 71 of file ItemEntry.php.

Here is the caller graph for this function:

delete ( dryRun = false)

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.

Parameters:
boolean$dyrRunWhether the transaction is dry run or not
Returns:
void
Exceptions:
Zend_Gdata_App_Exception

Definition at line 142 of file ItemEntry.php.

Here is the call graph for this function:

removeGbaseAttribute ( baseAttribute)

Removes a Base attribute from the current list of Base attributes

Parameters:
Zend_Gdata_Gbase_Extension_BaseAttribute$baseAttributeThe attribute to be removed
Returns:
Zend_Gdata_Gbase_ItemEntry Provides a fluent interface

Definition at line 83 of file ItemEntry.php.

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

Uploads changes in this entry to the server using Zend_Gdata_App

Parameters:
boolean$dryRunWhether the transaction is dry run or not.
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 109 of file ItemEntry.php.

Here is the call graph for this function:

setItemType ( value)

Set the value of the itme_type

Parameters:
Zend_Gdata_Gbase_Extension_ItemType$valueThe desired value for the item_type
Returns:
Zend_Gdata_Gbase_ItemEntry Provides a fluent interface

Definition at line 55 of file ItemEntry.php.

Here is the call graph for this function:


Field Documentation

$_entryClassName = 'Zend_Gdata_Gbase_ItemEntry' [protected]

Name of the base class for Google Base entries

var

Reimplemented from Zend_Gdata_Gbase_Entry.

Definition at line 47 of file ItemEntry.php.


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