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.
Service class for interacting with the Books service

__construct(
\Zend_Http_Client $client
=
null, string $applicationId
=
'MyCompany-MyApp-1.0'
)
:
void
Create Zend_Gdata_Books object
Name | Type | Description |
---|---|---|
$client | \Zend_Http_Client | (optional) The HTTP client to use when when communicating with the Google servers. |
$applicationId | string | The identity of the app in the form of Company-AppName-Version |

deleteVolume(
\Zend_Gdata_Books_VolumeEntry $entry
)
:
void
Delete a Volume
Name | Type | Description |
---|---|---|
$entry | \Zend_Gdata_Books_VolumeEntry |

getUserAnnotationFeed(
\Zend_Gdata_Query|string|null $location
=
null
)
:
\Zend_Gdata_Books_VolumeFeed
Retrieves a feed of volumes, by default the User annotation feed
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_Query|string|null | (optional) The URL to query. |
Type | Description |
---|---|
\Zend_Gdata_Books_VolumeFeed | The feed of volumes found at the specified URL. |

getUserLibraryFeed(
\Zend_Gdata_Query|string|null $location
=
null
)
:
\Zend_Gdata_Books_VolumeFeed
Retrieves a feed of volumes, by default the User library feed.
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_Query|string|null | (optional) The URL to query. |
Type | Description |
---|---|
\Zend_Gdata_Books_VolumeFeed | The feed of volumes found at the specified URL. |

getVolumeEntry(
string|null $volumeId
=
null, \Zend_Gdata_Query|string|null $location
=
null
)
:
\Zend_Gdata_Books_VolumeEntry
Retrieves a specific volume entry.
Name | Type | Description |
---|---|---|
$volumeId | string|null | The volumeId of interest. |
$location | \Zend_Gdata_Query|string|null | (optional) The URL to query or a Zend_Gdata_Query object from which a URL can be determined. |
Type | Description |
---|---|
\Zend_Gdata_Books_VolumeEntry | The feed of volumes found at the specified URL. |

getVolumeFeed(
\Zend_Gdata_Query|string|null $location
=
null
)
:
\Zend_Gdata_Books_VolumeFeed
Retrieves a feed of volumes.
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_Query|string|null | (optional) The URL to query or a Zend_Gdata_Query object from which a URL can be determined. |
Type | Description |
---|---|
\Zend_Gdata_Books_VolumeFeed | The feed of volumes found at the specified URL. |

insertVolume(
\Zend_Gdata_Books_VolumeEntry $entry, \Zend_Gdata_Query|string|null $location
=
null
)
:
\Zend_Gdata_Books_VolumeEntry
Insert a Volume / Annotation
Name | Type | Description |
---|---|---|
$entry | \Zend_Gdata_Books_VolumeEntry | |
$location | \Zend_Gdata_Query|string|null | (optional) The URL to query |
Type | Description |
---|---|
\Zend_Gdata_Books_VolumeEntry | The inserted volume entry. |