[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/Gbase/ -> ItemEntry.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 161 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_Gbase_ItemEntry:: (5 methods):
  setItemType()
  addGbaseAttribute()
  removeGbaseAttribute()
  save()
  delete()


Class: Zend_Gdata_Gbase_ItemEntry  - X-Ref

Concrete class for working with Item entries.

setItemType($value)   X-Ref
Set the value of the itme_type

param: Zend_Gdata_Gbase_Extension_ItemType $value The desired value for the item_type
return: Zend_Gdata_Gbase_ItemEntry Provides a fluent interface

addGbaseAttribute($name, $text, $type = null)   X-Ref
Adds a custom attribute to the entry in the following format:
<g:[$name] type='[$type]'>[$value]</g:[$name]>

param: string $name The name of the attribute
param: string $value The text value of the attribute
param: string $type (optional) The type of the attribute.
return: Zend_Gdata_Gbase_ItemEntry Provides a fluent interface

removeGbaseAttribute($baseAttribute)   X-Ref
Removes a Base attribute from the current list of Base attributes

param: Zend_Gdata_Gbase_Extension_BaseAttribute $baseAttribute The attribute to be removed
return: Zend_Gdata_Gbase_ItemEntry Provides a fluent interface

save($dryRun = false,$uri = null,$className = null,$extraHeaders = array()   X-Ref
Uploads changes in this entry to the server using Zend_Gdata_App

param: boolean $dryRun Whether the transaction is dry run or not.
param: string|null $uri The URI to send requests to, or null if $data
param: string|null $className The name of the class that should we
param: array $extraHeaders Extra headers to add to the request, as an
return: Zend_Gdata_App_Entry The updated entry

delete($dryRun = false)   X-Ref
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.

param: boolean $dyrRun Whether the transaction is dry run or not
return: void



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1