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


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' | |
Definition at line 40 of file ItemEntry.php.
| addGbaseAttribute | ( | $ | name, |
| $ | text, | ||
| $ | type = null |
||
| ) |
Adds a custom attribute to the entry in the following format: <g:[$name] type='[$type]'>[$value]</g:[$name]>
| string | $name | The name of the attribute |
| string | $value | The text value of the attribute |
| string | $type | (optional) The type of the attribute. e.g.: 'text', 'number', 'floatUnit' |
Definition at line 71 of file ItemEntry.php.

| 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.
| boolean | $dyrRun | Whether the transaction is dry run or not |
| Zend_Gdata_App_Exception |
Definition at line 142 of file ItemEntry.php.

| removeGbaseAttribute | ( | $ | baseAttribute | ) |
Removes a Base attribute from the current list of Base attributes
| Zend_Gdata_Gbase_Extension_BaseAttribute | $baseAttribute | The attribute to be removed |
Definition at line 83 of file ItemEntry.php.
Uploads changes in this entry to the server using Zend_Gdata_App
| boolean | $dryRun | Whether the transaction is dry run or not. |
| 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 109 of file ItemEntry.php.

| setItemType | ( | $ | value | ) |
Set the value of the itme_type
| Zend_Gdata_Gbase_Extension_ItemType | $value | The desired value for the item_type |
Definition at line 55 of file ItemEntry.php.

$_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.