## Zend_Gdata_Gbase_ItemEntry

Description

Concrete class for working with Item entries.

- copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- link: http://code.google.com/apis/base/
- license: New BSD License

Located in /Gdata/Gbase/ItemEntry.php (line 40)

    Zend_Gdata_App_Base
       |
       --Zend_Gdata_App_FeedEntryParent
          |
          --Zend_Gdata_App_Entry
             |
             --Zend_Gdata_App_MediaEntry
                |
                --Zend_Gdata_Entry
                   |
                   --Zend_Gdata_Gbase_Entry
                      |
                      --Zend_Gdata_Gbase_ItemEntry

Variable Summary
string $_entryClassName
Method Summary
Zend_Gdata_Gbase_ItemEntry addGbaseAttribute (string $name, $text, [string $type = null], string $value)
void delete ([ $dryRun = false], boolean $dyrRun)
Zend_Gdata_Gbase_ItemEntry removeGbaseAttribute (Zend_Gdata_Gbase_Extension_BaseAttribute $baseAttribute)
Zend_Gdata_App_Entry save ([boolean $dryRun = false], [string|null $uri = null], [string|null $className = null], [array $extraHeaders = array()])
Zend_Gdata_Gbase_ItemEntry setItemType (Zend_Gdata_Gbase_Extension_ItemType $value)
Variables
string $_entryClassName = 'Zend_Gdata_Gbase_ItemEntry' (line 47)

The classname for individual item entry elements.

- access: protected

Redefinition of:

Zend_Gdata_Gbase_Entry::$_entryClassName
  Name of the base class for Google Base entries

#### Inherited Variables

Inherited from Zend_Gdata_Gbase_Entry

> Zend_Gdata_Gbase_Entry::$_baseAttributes

Inherited from Zend_Gdata_App_MediaEntry

> Zend_Gdata_App_MediaEntry::$_mediaSource

Inherited from Zend_Gdata_App_Entry

> Zend_Gdata_App_Entry::$_content
> Zend_Gdata_App_Entry::$_control
> Zend_Gdata_App_Entry::$_edited
> Zend_Gdata_App_Entry::$_published
> Zend_Gdata_App_Entry::$_rootElement
> Zend_Gdata_App_Entry::$_source
> Zend_Gdata_App_Entry::$_summary

Inherited from Zend_Gdata_App_FeedEntryParent

> Zend_Gdata_App_FeedEntryParent::$_author
> Zend_Gdata_App_FeedEntryParent::$_category
> Zend_Gdata_App_FeedEntryParent::$_contributor
> Zend_Gdata_App_FeedEntryParent::$_etag
> Zend_Gdata_App_FeedEntryParent::$_id
> Zend_Gdata_App_FeedEntryParent::$_link
> Zend_Gdata_App_FeedEntryParent::$_majorProtocolVersion
> Zend_Gdata_App_FeedEntryParent::$_minorProtocolVersion
> Zend_Gdata_App_FeedEntryParent::$_rights
> Zend_Gdata_App_FeedEntryParent::$_service
> Zend_Gdata_App_FeedEntryParent::$_title
> Zend_Gdata_App_FeedEntryParent::$_updated

Inherited from Zend_Gdata_App_Base

> Zend_Gdata_App_Base::$_extensionAttributes
> Zend_Gdata_App_Base::$_extensionElements
> Zend_Gdata_App_Base::$_namespaceLookupCache
> Zend_Gdata_App_Base::$_namespaces
> Zend_Gdata_App_Base::$_rootNamespace
> Zend_Gdata_App_Base::$_rootNamespaceURI
> Zend_Gdata_App_Base::$_text

Methods
addGbaseAttribute (line 71)

Adds a custom attribute to the entry in the following format: &lt;g:[$name] type='[$type]'&gt;[$value]&lt;/g:[$name]&gt;

- return: Provides a fluent interface
- access: public

Zend_Gdata_Gbase_ItemEntry addGbaseAttribute (string $name, $text, [string $type = null], string $value)

- 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'
- $text

delete (line 142)

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.

- throws: Zend_Gdata_App_Exception
- access: public

void delete ([ $dryRun = false], boolean $dyrRun)

- boolean $dyrRun: Whether the transaction is dry run or not
- $dryRun

Redefinition of:

Zend_Gdata_App_Entry::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.

removeGbaseAttribute (line 83)

Removes a Base attribute from the current list of Base attributes

- return: Provides a fluent interface
- access: public

Zend_Gdata_Gbase_ItemEntry removeGbaseAttribute (Zend_Gdata_Gbase_Extension_BaseAttribute $baseAttribute)

- Zend_Gdata_Gbase_Extension_BaseAttribute $baseAttribute: The attribute to be removed

save (line 109)

Uploads changes in this entry to the server using Zend_Gdata_App

- return: The updated entry
- throws: Zend_Gdata_App_Exception
- access: public

Zend_Gdata_App_Entry save ([boolean $dryRun = false], [string|null $uri = null], [string|null $className = null], [array $extraHeaders = array()])

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

Redefinition of:

Zend_Gdata_App_Entry::save()
  Uploads changes in this entry to the server using Zend_Gdata_App

setItemType (line 55)

Set the value of the itme_type

- return: Provides a fluent interface
- access: public

Zend_Gdata_Gbase_ItemEntry setItemType (Zend_Gdata_Gbase_Extension_ItemType $value)

- Zend_Gdata_Gbase_Extension_ItemType $value: The desired value for the item_type

#### Inherited Methods

Inherited From Zend_Gdata_Gbase_Entry

> Zend_Gdata_Gbase_Entry::__construct()
> Zend_Gdata_Gbase_Entry::getDOM()
> Zend_Gdata_Gbase_Entry::getGbaseAttribute()
> Zend_Gdata_Gbase_Entry::getGbaseAttributes()
> Zend_Gdata_Gbase_Entry::getItemType()
> Zend_Gdata_Gbase_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_Entry

> Zend_Gdata_Entry::__construct()
> Zend_Gdata_Entry::getDOM()
> Zend_Gdata_Entry::takeAttributeFromDOM()
> Zend_Gdata_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_MediaEntry

> Zend_Gdata_App_MediaEntry::__construct()
> Zend_Gdata_App_MediaEntry::encode()
> Zend_Gdata_App_MediaEntry::getMediaSource()
> Zend_Gdata_App_MediaEntry::setMediaSource()

Inherited From Zend_Gdata_App_Entry

> Zend_Gdata_App_Entry::delete()
> Zend_Gdata_App_Entry::getContent()
> Zend_Gdata_App_Entry::getControl()
> Zend_Gdata_App_Entry::getDOM()
> Zend_Gdata_App_Entry::getPublished()
> Zend_Gdata_App_Entry::getSource()
> Zend_Gdata_App_Entry::getSummary()
> Zend_Gdata_App_Entry::reload()
> Zend_Gdata_App_Entry::save()
> Zend_Gdata_App_Entry::setContent()
> Zend_Gdata_App_Entry::setControl()
> Zend_Gdata_App_Entry::setPublished()
> Zend_Gdata_App_Entry::setSource()
> Zend_Gdata_App_Entry::setSummary()
> Zend_Gdata_App_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_FeedEntryParent

> Zend_Gdata_App_FeedEntryParent::__construct()
> Zend_Gdata_App_FeedEntryParent::getAlternateLink()
> Zend_Gdata_App_FeedEntryParent::getAuthor()
> Zend_Gdata_App_FeedEntryParent::getCategory()
> Zend_Gdata_App_FeedEntryParent::getContributor()
> Zend_Gdata_App_FeedEntryParent::getDOM()
> Zend_Gdata_App_FeedEntryParent::getEditLink()
> Zend_Gdata_App_FeedEntryParent::getEtag()
> Zend_Gdata_App_FeedEntryParent::getHttpClient()
> Zend_Gdata_App_FeedEntryParent::getId()
> Zend_Gdata_App_FeedEntryParent::getLicenseLink()
> Zend_Gdata_App_FeedEntryParent::getLink()
> Zend_Gdata_App_FeedEntryParent::getMajorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::getMinorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::getNextLink()
> Zend_Gdata_App_FeedEntryParent::getPreviousLink()
> Zend_Gdata_App_FeedEntryParent::getRights()
> Zend_Gdata_App_FeedEntryParent::getSelfLink()
> Zend_Gdata_App_FeedEntryParent::getService()
> Zend_Gdata_App_FeedEntryParent::getTitle()
> Zend_Gdata_App_FeedEntryParent::getTitleValue()
> Zend_Gdata_App_FeedEntryParent::getUpdated()
> Zend_Gdata_App_FeedEntryParent::lookupNamespace()
> Zend_Gdata_App_FeedEntryParent::setAuthor()
> Zend_Gdata_App_FeedEntryParent::setCategory()
> Zend_Gdata_App_FeedEntryParent::setContributor()
> Zend_Gdata_App_FeedEntryParent::setEtag()
> Zend_Gdata_App_FeedEntryParent::setHttpClient()
> Zend_Gdata_App_FeedEntryParent::setId()
> Zend_Gdata_App_FeedEntryParent::setLink()
> Zend_Gdata_App_FeedEntryParent::setMajorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::setMinorProtocolVersion()
> Zend_Gdata_App_FeedEntryParent::setRights()
> Zend_Gdata_App_FeedEntryParent::setService()
> Zend_Gdata_App_FeedEntryParent::setTitle()
> Zend_Gdata_App_FeedEntryParent::setUpdated()
> Zend_Gdata_App_FeedEntryParent::takeChildFromDOM()

Inherited From Zend_Gdata_App_Base

> Zend_Gdata_App_Base::__construct()
> Zend_Gdata_App_Base::encode()
> Zend_Gdata_App_Base::flushNamespaceLookupCache()
> Zend_Gdata_App_Base::getDOM()
> Zend_Gdata_App_Base::getExtensionAttributes()
> Zend_Gdata_App_Base::getExtensionElements()
> Zend_Gdata_App_Base::getText()
> Zend_Gdata_App_Base::getXML()
> Zend_Gdata_App_Base::lookupNamespace()
> Zend_Gdata_App_Base::registerAllNamespaces()
> Zend_Gdata_App_Base::registerNamespace()
> Zend_Gdata_App_Base::saveXML()
> Zend_Gdata_App_Base::setExtensionAttributes()
> Zend_Gdata_App_Base::setExtensionElements()
> Zend_Gdata_App_Base::setText()
> Zend_Gdata_App_Base::takeAttributeFromDOM()
> Zend_Gdata_App_Base::takeChildFromDOM()
> Zend_Gdata_App_Base::transferFromDOM()
> Zend_Gdata_App_Base::transferFromXML()
> Zend_Gdata_App_Base::__get()
> Zend_Gdata_App_Base::__isset()
> Zend_Gdata_App_Base::__set()
> Zend_Gdata_App_Base::__toString()
> Zend_Gdata_App_Base::__unset()

Documentation generated on Tue, 26 Oct 2010 20:08:51 +0400 by phpDocumentor 1.4.2