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

Public Member Functions

 __construct ($client=null, $applicationId= 'MyCompany-MyApp-1.0')
 getVolumeFeed ($location=null)
 getVolumeEntry ($volumeId=null, $location=null)
 getUserLibraryFeed ($location=null)
 getUserAnnotationFeed ($location=null)
 insertVolume ($entry, $location=null)
 deleteVolume ($entry)

Data Fields

const VOLUME_FEED_URI = 'http://books.google.com/books/feeds/volumes'
const MY_LIBRARY_FEED_URI = 'http://books.google.com/books/feeds/users/me/collections/library/volumes'
const MY_ANNOTATION_FEED_URI = 'http://books.google.com/books/feeds/users/me/volumes'
const AUTH_SERVICE_NAME = 'print'

Static Public Attributes

static $namespaces

Detailed Description

Definition at line 63 of file Books.php.


Constructor & Destructor Documentation

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

Create Zend_Gdata_Books object

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

Reimplemented from Zend_Gdata.

Definition at line 87 of file Books.php.

Here is the call graph for this function:


Member Function Documentation

deleteVolume ( entry)

Delete a Volume

Parameters:
Zend_Gdata_Books_VolumeEntry$entry
Returns:
void

Definition at line 199 of file Books.php.

getUserAnnotationFeed ( location = null)

Retrieves a feed of volumes, by default the User annotation feed

Parameters:
Zend_Gdata_Query | string | null$location(optional) The URL to query.
Returns:
Zend_Gdata_Books_VolumeFeed The feed of volumes found at the specified URL.

Definition at line 164 of file Books.php.

Here is the call graph for this function:

getUserLibraryFeed ( location = null)

Retrieves a feed of volumes, by default the User library feed.

Parameters:
Zend_Gdata_Query | string | null$location(optional) The URL to query.
Returns:
Zend_Gdata_Books_VolumeFeed The feed of volumes found at the specified URL.

Definition at line 146 of file Books.php.

Here is the call graph for this function:

getVolumeEntry ( volumeId = null,
location = null 
)

Retrieves a specific volume entry.

Parameters:
string | null$volumeIdThe volumeId of interest.
Zend_Gdata_Query | string | null$location(optional) The URL to query or a Zend_Gdata_Query object from which a URL can be determined.
Returns:
Zend_Gdata_Books_VolumeEntry The feed of volumes found at the specified URL.

Definition at line 126 of file Books.php.

Here is the call graph for this function:

getVolumeFeed ( location = null)

Retrieves a feed of volumes.

Parameters:
Zend_Gdata_Query | string | null$location(optional) The URL to query or a Zend_Gdata_Query object from which a URL can be determined.
Returns:
Zend_Gdata_Books_VolumeFeed The feed of volumes found at the specified URL.

Definition at line 104 of file Books.php.

Here is the call graph for this function:

insertVolume ( entry,
location = null 
)

Insert a Volume / Annotation

Parameters:
Zend_Gdata_Books_VolumeEntry$entry
Zend_Gdata_Query | string | null$location(optional) The URL to query
Returns:
Zend_Gdata_Books_VolumeEntry The inserted volume entry.

Definition at line 182 of file Books.php.

Here is the call graph for this function:


Field Documentation

$namespaces [static]
Initial value:
 array(
        array('gbs', 'http://schemas.google.com/books/2008', 1, 0),
        array('dc', 'http://purl.org/dc/terms', 1, 0)
    )

Reimplemented from Zend_Gdata.

Definition at line 75 of file Books.php.

const AUTH_SERVICE_NAME = 'print'

Reimplemented from Zend_Gdata.

Definition at line 68 of file Books.php.

const MY_ANNOTATION_FEED_URI = 'http://books.google.com/books/feeds/users/me/volumes'

Definition at line 67 of file Books.php.

const MY_LIBRARY_FEED_URI = 'http://books.google.com/books/feeds/users/me/collections/library/volumes'

Definition at line 66 of file Books.php.

const VOLUME_FEED_URI = 'http://books.google.com/books/feeds/volumes'

Definition at line 65 of file Books.php.


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