Gdata/Books.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- Books
- Version
- $Id$
\Zend_Gdata_Books
Package: Zend_Gdata\Books
Service class for interacting with the Books service
As the Google data API protocol is based upon the Atom Publishing Protocol
(APP), Gdata functionality extends the appropriate Zend_Gdata_App classes
- Parent(s)
- \Zend_Gdata < \Zend_Gdata_App
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
array $namespaces = array(array('gbs', 'http://schemas.google.com/books/2008', 1, 0), array('dc', 'http://purl.org/dc/terms', 1, 0))
static
Namespaces used for Zend_Gdata_Books
Default value
array(array('gbs', 'http://schemas.google.com/books/2008', 1, 0), array('dc', 'http://purl.org/dc/terms', 1, 0))
Details- Type
- array
Methods
__construct(\Zend_Http_Client $client = null, string $applicationId = 'MyCompany-MyApp-1.0') : void
Create Zend_Gdata_Books object
Parameters
Name | Type | Description |
---|---|---|
$client | \Zend_Http_Client | (optional) The HTTP client to use when
|
$applicationId | string | The identity of the app in the form of Company-AppName-Version |
deleteVolume(\Zend_Gdata_Books_VolumeEntry $entry) : void
Delete a Volume
Parameters
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
Parameters
Returns
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_Query | string | null | (optional) The URL to
|
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.
Parameters
Returns
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_Query | string | null | (optional) The URL to
|
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.
Parameters
Returns
Name | Type | Description |
---|---|---|
$volumeId | string | null | The volumeId of interest. |
$location | \Zend_Gdata_Query | string | null | (optional) The URL to
|
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.
Parameters
Returns
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_Query | string | null | (optional) The URL to
|
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
Parameters
Returns
Name | Type | Description |
---|---|---|
$entry | \Zend_Gdata_Books_VolumeEntry | |
$location | \Zend_Gdata_Query | string | null | (optional) The URL to
|
Type | Description |
---|---|
\Zend_Gdata_Books_VolumeEntry | The inserted volume entry. |