Gdata/Photos.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
- Photos
- Version
- $Id$
Package: Zend_Gdata\PhotosService class for interacting with the Google Photos Data API.
Like other service classes in this module, this class provides access via
an HTTP client to Google servers for working with entries and feeds.
- 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
- Link
- http://code.google.com/apis/picasaweb/gdata.html
Constants
Properties
array $namespaces = array(array('gphoto', 'http://schemas.google.com/photos/2007', 1, 0), array('photo', 'http://www.pheed.com/pheed/', 1, 0), array('exif', 'http://schemas.google.com/photos/exif/2007', 1, 0), array('georss', 'http://www.georss.org/georss', 1, 0), array('gml', 'http://www.opengis.net/gml', 1, 0), array('media', 'http://search.yahoo.com/mrss/', 1, 0))
staticNamespaces used for Zend_Gdata_Photos
Default valuearray(array('gphoto', 'http://schemas.google.com/photos/2007', 1, 0), array('photo', 'http://www.pheed.com/pheed/', 1, 0), array('exif', 'http://schemas.google.com/photos/exif/2007', 1, 0), array('georss', 'http://www.georss.org/georss', 1, 0), array('gml', 'http://www.opengis.net/gml', 1, 0), array('media', 'http://search.yahoo.com/mrss/', 1, 0))
Details- Type
- array
Methods
__construct(\Zend_Http_Client $client = null, string $applicationId = 'MyCompany-MyApp-1.0') : void
Create Zend_Gdata_Photos object
ParametersName | Type | Description |
---|
$client | \Zend_Http_Client | (optional) The HTTP client to use when
when communicating with the servers.
|
---|
$applicationId | string | The identity of the app in the form of Company-AppName-Version |
---|
getAlbumEntry(mixed $location) : \Zend_Gdata_Photos_AlbumEntry
Retreive a single AlbumEntry object.
ParametersName | Type | Description |
---|
$location | mixed | The location for the feed, as a URL or Query. |
---|
ReturnsThrows getAlbumFeed(mixed $location = null) : \Zend_Gdata_Photos_AlbumFeed
Retreive AlbumFeed object containing multiple PhotoEntry or TagEntry
objects.
ParametersName | Type | Description |
---|
$location | mixed | (optional) The location for the feed, as a URL or Query. |
---|
ReturnsThrows getCommentEntry(mixed $location) : \Zend_Gdata_Photos_CommentEntry
Retreive a single CommentEntry object.
ParametersName | Type | Description |
---|
$location | mixed | The location for the feed, as a URL or Query. |
---|
ReturnsThrows getPhotoEntry(mixed $location) : \Zend_Gdata_Photos_PhotoEntry
Retreive a single PhotoEntry object.
ParametersName | Type | Description |
---|
$location | mixed | The location for the feed, as a URL or Query. |
---|
ReturnsThrows getPhotoFeed(mixed $location = null) : \Zend_Gdata_Photos_PhotoFeed
Retreive PhotoFeed object containing comments and tags associated
with a given photo.
ParametersName | Type | Description |
---|
$location | mixed | (optional) The location for the feed, as a URL
or Query. If not specified, the community search feed will
be returned instead.
|
---|
ReturnsThrows getTagEntry(mixed $location) : \Zend_Gdata_Photos_TagEntry
Retreive a single TagEntry object.
ParametersName | Type | Description |
---|
$location | mixed | The location for the feed, as a URL or Query. |
---|
ReturnsThrows getUserEntry(mixed $location) : \Zend_Gdata_Photos_UserEntry
Retreive a single UserEntry object.
ParametersName | Type | Description |
---|
$location | mixed | The location for the feed, as a URL or Query. |
---|
ReturnsThrows getUserFeed(string $userName = null, mixed $location = null) : \Zend_Gdata_Photos_UserFeed
Retrieve a UserFeed containing AlbumEntries, PhotoEntries and
TagEntries associated with a given user.
ParametersName | Type | Description |
---|
$userName | string | The userName of interest |
---|
$location | mixed | (optional) The location for the feed, as a URL
or Query. If not provided, a default URL will be used instead.
|
---|
ReturnsThrows