API Documentation

Gdata/Gbase.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
Gbase
version
$Id: Gbase.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Gbase

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Gdata_Gbase

Extends from
Zend_Gdata
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
link
http://code.google.com/apis/base
package
Zend_Gdata
subpackage
Gbase
Constants
GBASE_ITEM_FEED_URI
GBASE_SNIPPET_FEED_URI
AUTH_SERVICE_NAME
Properties
$_defaultPostUri
$namespaces
Methods
__construct
getGbaseItemFeed
getGbaseItemEntry
insertGbaseItem
updateGbaseItem
deleteGbaseItem
getGbaseSnippetFeed

Description

Service class for interacting with the Google Base data API

Constants

GBASE_ITEM_FEED_URI

 GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items'

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

Details

value
http://www.google.com/base/feeds/items

GBASE_SNIPPET_FEED_URI

 GBASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets'

Path to the snippets feeds on the Google Base server.

Details

value
http://www.google.com/base/feeds/snippets

AUTH_SERVICE_NAME

 AUTH_SERVICE_NAME = 'gbase'

Authentication service name for Google Base

Details

value
gbase

Properties

$_defaultPostUri

string $_defaultPostUri = 'self'

The default URI for POST methods

Details

$_defaultPostUri
string
visibility
protected
default
self
final
false
static
false

$namespaces

array $namespaces = 'array'

Namespaces used for Zend_Gdata_Gbase

Details

$namespaces
array
visibility
public
default
array
final
false
static
true

Methods

__construct

__construct( Zend_Http_Client $client = null, string $applicationId = MyCompany-MyApp-1.0 ) :

Create Zend_Gdata_Gbase object

Arguments
$client
Zend_Http_Client
(optional) The HTTP client to use when when communicating with the Google Apps servers.
$applicationId
string
The identity of the app in the form of Company-AppName-Version
Details
visibility
public
final
false
static
false

deleteGbaseItem

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

Delete an entry

Arguments
$entry
Zend_Gdata_Gbase_ItemEntry
The Base entry to remove
$dryRun
boolean
Flag for the 'dry-run' parameter
Details
visibility
public
final
false
static
false

getGbaseItemEntry

getGbaseItemEntry( mixed $location = null ) : Zend_Gdata_Gbase_ItemEntry

Retreive entry object

Arguments
$location
mixed
The location for the feed, as a URL or Query
Details
visibility
public
final
false
static
false

getGbaseItemFeed

getGbaseItemFeed( mixed $location = null ) : Zend_Gdata_Gbase_ItemFeed

Retreive feed object

Arguments
$location
mixed
The location for the feed, as a URL or Query
Details
visibility
public
final
false
static
false

getGbaseSnippetFeed

getGbaseSnippetFeed( mixed $location = null ) : Zend_Gdata_Gbase_SnippetFeed

Retrieve feed object

Arguments
$location
mixed
The location for the feed, as a URL or Query
Details
visibility
public
final
false
static
false

insertGbaseItem

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

Insert an entry

Arguments
$entry
Zend_Gdata_Gbase_ItemEntry
The Base entry to upload
$dryRun
boolean
Flag for the 'dry-run' parameter
Details
visibility
public
final
false
static
false

updateGbaseItem

updateGbaseItem( Zend_Gdata_Gbase_ItemEntry $entry, boolean $dryRun = false ) : Zend_Gdata_Gbase_ItemEntry

Update an entry

Arguments
$entry
Zend_Gdata_Gbase_ItemEntry
The Base entry to be updated
$dryRun
boolean
Flag for the 'dry-run' parameter
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.