Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Gbase Class Reference
Inheritance diagram for Zend_Gdata_Gbase:
Collaboration diagram for Zend_Gdata_Gbase:

Public Member Functions

 __construct ($client=null, $applicationId= 'MyCompany-MyApp-1.0')
 getGbaseItemFeed ($location=null)
 getGbaseItemEntry ($location=null)
 insertGbaseItem ($entry, $dryRun=false)
 updateGbaseItem ($entry, $dryRun=false)
 deleteGbaseItem ($entry, $dryRun=false)
 getGbaseSnippetFeed ($location=null)

Data Fields

const GBASE_ITEM_FEED_URI = 'http://www.google.com/base/feeds/items'
const GBASE_SNIPPET_FEED_URI = 'http://www.google.com/base/feeds/snippets'
const AUTH_SERVICE_NAME = 'gbase'

Static Public Attributes

static $namespaces

Protected Attributes

 $_defaultPostUri = self::GBASE_ITEM_FEED_URI

Detailed Description

Definition at line 60 of file Gbase.php.


Constructor & Destructor Documentation

__construct ( client = null,
applicationId = 'MyCompany-MyApp-1.0' 
)

Create Zend_Gdata_Gbase object

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

Reimplemented from Zend_Gdata.

Definition at line 102 of file Gbase.php.

Here is the call graph for this function:


Member Function Documentation

deleteGbaseItem ( entry,
dryRun = false 
)

Delete an entry

Parameters:
Zend_Gdata_Gbase_ItemEntry$entryThe Base entry to remove
boolean$dryRunFlag for the 'dry-run' parameter
Returns:
Zend_Gdata_Gbase_ItemFeed

Definition at line 186 of file Gbase.php.

getGbaseItemEntry ( location = null)

Retreive entry object

Parameters:
mixed$locationThe location for the feed, as a URL or Query
Returns:
Zend_Gdata_Gbase_ItemEntry

Definition at line 134 of file Gbase.php.

Here is the call graph for this function:

getGbaseItemFeed ( location = null)

Retreive feed object

Parameters:
mixed$locationThe location for the feed, as a URL or Query
Returns:
Zend_Gdata_Gbase_ItemFeed

Definition at line 116 of file Gbase.php.

Here is the call graph for this function:

getGbaseSnippetFeed ( location = null)

Retrieve feed object

Parameters:
mixed$locationThe location for the feed, as a URL or Query
Returns:
Zend_Gdata_Gbase_SnippetFeed

Definition at line 198 of file Gbase.php.

Here is the call graph for this function:

insertGbaseItem ( entry,
dryRun = false 
)

Insert an entry

Parameters:
Zend_Gdata_Gbase_ItemEntry$entryThe Base entry to upload
boolean$dryRunFlag for the 'dry-run' parameter
Returns:
Zend_Gdata_Gbase_ItemFeed

Definition at line 155 of file Gbase.php.

Here is the call graph for this function:

updateGbaseItem ( entry,
dryRun = false 
)

Update an entry

Parameters:
Zend_Gdata_Gbase_ItemEntry$entryThe Base entry to be updated
boolean$dryRunFlag for the 'dry-run' parameter
Returns:
Zend_Gdata_Gbase_ItemEntry

Definition at line 173 of file Gbase.php.


Field Documentation

$_defaultPostUri = self::GBASE_ITEM_FEED_URI [protected]

Reimplemented from Zend_Gdata.

Definition at line 83 of file Gbase.php.

$namespaces [static]
Initial value:
 array(
        array('g', 'http://base.google.com/ns/1.0', 1, 0),
        array('batch', 'http://schemas.google.com/gdata/batch', 1, 0)
    )

Reimplemented from Zend_Gdata.

Definition at line 90 of file Gbase.php.

const AUTH_SERVICE_NAME = 'gbase'

Authentication service name for Google Base

Reimplemented from Zend_Gdata.

Definition at line 76 of file Gbase.php.

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

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

Definition at line 66 of file Gbase.php.

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

Path to the snippets feeds on the Google Base server.

Definition at line 71 of file Gbase.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations