## Zend_Gdata_Gbase

Description

Service class for interacting with the Google Base data API

- 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.php (line 60)

    Zend_Gdata_App
       |
       --Zend_Gdata
          |
          --Zend_Gdata_Gbase

Class Constant Summary
AUTH_SERVICE_NAME = 'gbase'
GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items'
GBASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets'
Variable Summary
static array $namespaces
string $_defaultPostUri
Method Summary
Zend_Gdata_Gbase __construct ([Zend_Http_Client $client = null], [string $applicationId = 'MyCompany-MyApp-1.0'])
Zend_Gdata_Gbase_ItemFeed deleteGbaseItem (Zend_Gdata_Gbase_ItemEntry $entry, [boolean $dryRun = false])
Zend_Gdata_Gbase_ItemEntry getGbaseItemEntry ([mixed $location = null])
Zend_Gdata_Gbase_ItemFeed getGbaseItemFeed ([mixed $location = null])
Zend_Gdata_Gbase_SnippetFeed getGbaseSnippetFeed ([mixed $location = null])
Zend_Gdata_Gbase_ItemFeed insertGbaseItem (Zend_Gdata_Gbase_ItemEntry $entry, [boolean $dryRun = false])
Zend_Gdata_Gbase_ItemEntry updateGbaseItem (Zend_Gdata_Gbase_ItemEntry $entry, [boolean $dryRun = false])
Variables
static array $namespaces = array(
array('g', 'http://base.google.com/ns/1.0', 1, 0),array('batch','http://schemas.google.com/gdata/batch',1,0)) (line 90)

Namespaces used for Zend_Gdata_Gbase

- access: public

Redefinition of:

Zend_Gdata::$namespaces
  Namespaces used for Gdata data

string $_defaultPostUri = self::GBASE_ITEM_FEED_URI (line 83)

The default URI for POST methods

- access: protected

Redefinition of:

Zend_Gdata::$_defaultPostUri
  Default URI to which to POST.

#### Inherited Variables

Inherited from Zend_Gdata

> Zend_Gdata::$_httpClient
> Zend_Gdata::$_registeredPackages
> Zend_Gdata::$_staticHttpClient

Inherited from Zend_Gdata_App

> Zend_Gdata_App::$_gzipEnabled
> Zend_Gdata_App::$_httpMethodOverride
> Zend_Gdata_App::$_majorProtocolVersion
> Zend_Gdata_App::$_maxRedirects
> Zend_Gdata_App::$_minorProtocolVersion
> Zend_Gdata_App::$_useObjectMapping
> Zend_Gdata_App::$_verboseExceptionMessages

Methods
Constructor __construct (line 102)

Create Zend_Gdata_Gbase object

- access: public

Zend_Gdata_Gbase __construct ([Zend_Http_Client $client = null], [string $applicationId = 'MyCompany-MyApp-1.0'])

- Zend_Http_Client $client: (optional) The HTTP client to use when when communicating with the Google Apps servers.
- string $applicationId: The identity of the app in the form of Company-AppName-Version

Redefinition of:

Zend_Gdata::__construct()
  Create Gdata object

deleteGbaseItem (line 186)

Delete an entry

- access: public

Zend_Gdata_Gbase_ItemFeed deleteGbaseItem (Zend_Gdata_Gbase_ItemEntry $entry, [boolean $dryRun = false])

- Zend_Gdata_Gbase_ItemEntry $entry: The Base entry to remove
- boolean $dryRun: Flag for the 'dry-run' parameter

getGbaseItemEntry (line 134)

Retreive entry object

- access: public

Zend_Gdata_Gbase_ItemEntry getGbaseItemEntry ([mixed $location = null])

- mixed $location: The location for the feed, as a URL or Query

getGbaseItemFeed (line 116)

Retreive feed object

- access: public

Zend_Gdata_Gbase_ItemFeed getGbaseItemFeed ([mixed $location = null])

- mixed $location: The location for the feed, as a URL or Query

getGbaseSnippetFeed (line 198)

Retrieve feed object

- access: public

Zend_Gdata_Gbase_SnippetFeed getGbaseSnippetFeed ([mixed $location = null])

- mixed $location: The location for the feed, as a URL or Query

insertGbaseItem (line 155)

Insert an entry

- access: public

Zend_Gdata_Gbase_ItemFeed insertGbaseItem (Zend_Gdata_Gbase_ItemEntry $entry, [boolean $dryRun = false])

- Zend_Gdata_Gbase_ItemEntry $entry: The Base entry to upload
- boolean $dryRun: Flag for the 'dry-run' parameter

updateGbaseItem (line 173)

Update an entry

- access: public

Zend_Gdata_Gbase_ItemEntry updateGbaseItem (Zend_Gdata_Gbase_ItemEntry $entry, [boolean $dryRun = false])

- Zend_Gdata_Gbase_ItemEntry $entry: The Base entry to be updated
- boolean $dryRun: Flag for the 'dry-run' parameter

#### Inherited Methods

Inherited From Zend_Gdata

> Zend_Gdata::__construct()
> Zend_Gdata::getEntry()
> Zend_Gdata::getFeed()
> Zend_Gdata::import()
> Zend_Gdata::isAuthenticated()
> Zend_Gdata::performHttpRequest()

Inherited From Zend_Gdata_App

> Zend_Gdata_App::__construct()
> Zend_Gdata_App::delete()
> Zend_Gdata_App::enableRequestDebugLogging()
> Zend_Gdata_App::generateIfMatchHeaderData()
> Zend_Gdata_App::get()
> Zend_Gdata_App::getEntry()
> Zend_Gdata_App::getFeed()
> Zend_Gdata_App::getGzipEnabled()
> Zend_Gdata_App::getHttpClient()
> Zend_Gdata_App::getHttpMethodOverride()
> Zend_Gdata_App::getMajorProtocolVersion()
> Zend_Gdata_App::getMaxRedirects()
> Zend_Gdata_App::getMinorProtocolVersion()
> Zend_Gdata_App::getNextFeed()
> Zend_Gdata_App::getPreviousFeed()
> Zend_Gdata_App::getStaticHttpClient()
> Zend_Gdata_App::getVerboseExceptionMessages()
> Zend_Gdata_App::import()
> Zend_Gdata_App::importFile()
> Zend_Gdata_App::importString()
> Zend_Gdata_App::importUrl()
> Zend_Gdata_App::insertEntry()
> Zend_Gdata_App::performHttpRequest()
> Zend_Gdata_App::post()
> Zend_Gdata_App::prepareRequest()
> Zend_Gdata_App::put()
> Zend_Gdata_App::registerPackage()
> Zend_Gdata_App::retrieveAllEntriesForFeed()
> Zend_Gdata_App::setGzipEnabled()
> Zend_Gdata_App::setHttpClient()
> Zend_Gdata_App::setHttpMethodOverride()
> Zend_Gdata_App::setMajorProtocolVersion()
> Zend_Gdata_App::setMaxRedirects()
> Zend_Gdata_App::setMinorProtocolVersion()
> Zend_Gdata_App::setStaticHttpClient()
> Zend_Gdata_App::setVerboseExceptionMessages()
> Zend_Gdata_App::updateEntry()
> Zend_Gdata_App::useObjectMapping()
> Zend_Gdata_App::usingObjectMapping()
> Zend_Gdata_App::__call()

Class Constants
AUTH_SERVICE_NAME = 'gbase' (line 76)

Authentication service name for Google Base

GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items' (line 66)

Path to the customer items feeds on the Google Base server.

GBASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets' (line 71)

Path to the snippets feeds on the Google Base server.

#### Inherited Constants

Inherited from Zend_Gdata

> Zend_Gdata::AUTH_SERVICE_NAME

Inherited from Zend_Gdata_App

> Zend_Gdata_App::DEFAULT_MAJOR_PROTOCOL_VERSION
> Zend_Gdata_App::DEFAULT_MINOR_PROTOCOL_VERSION

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