[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Gdata/ -> Photos.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 576 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Gdata_Photos:: (17 methods):
  __construct()
  getUserFeed()
  getAlbumFeed()
  getPhotoFeed()
  getUserEntry()
  getAlbumEntry()
  getPhotoEntry()
  getTagEntry()
  getCommentEntry()
  insertAlbumEntry()
  insertPhotoEntry()
  insertTagEntry()
  insertCommentEntry()
  deleteAlbumEntry()
  deletePhotoEntry()
  deleteCommentEntry()
  deleteTagEntry()


Class: Zend_Gdata_Photos  - X-Ref

Service 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.

__construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')   X-Ref
Create Zend_Gdata_Photos object

param: Zend_Http_Client $client (optional) The HTTP client to use when
param: string $applicationId The identity of the app in the form of Company-AppName-Version

getUserFeed($userName = null, $location = null)   X-Ref
Retrieve a UserFeed containing AlbumEntries, PhotoEntries and
TagEntries associated with a given user.

param: string $userName The userName of interest
param: mixed $location (optional) The location for the feed, as a URL
return: Zend_Gdata_Photos_UserFeed

getAlbumFeed($location = null)   X-Ref
Retreive AlbumFeed object containing multiple PhotoEntry or TagEntry
objects.

param: mixed $location (optional) The location for the feed, as a URL or Query.
return: Zend_Gdata_Photos_AlbumFeed

getPhotoFeed($location = null)   X-Ref
Retreive PhotoFeed object containing comments and tags associated
with a given photo.

param: mixed $location (optional) The location for the feed, as a URL
return: Zend_Gdata_Photos_PhotoFeed

getUserEntry($location)   X-Ref
Retreive a single UserEntry object.

param: mixed $location The location for the feed, as a URL or Query.
return: Zend_Gdata_Photos_UserEntry

getAlbumEntry($location)   X-Ref
Retreive a single AlbumEntry object.

param: mixed $location The location for the feed, as a URL or Query.
return: Zend_Gdata_Photos_AlbumEntry

getPhotoEntry($location)   X-Ref
Retreive a single PhotoEntry object.

param: mixed $location The location for the feed, as a URL or Query.
return: Zend_Gdata_Photos_PhotoEntry

getTagEntry($location)   X-Ref
Retreive a single TagEntry object.

param: mixed $location The location for the feed, as a URL or Query.
return: Zend_Gdata_Photos_TagEntry

getCommentEntry($location)   X-Ref
Retreive a single CommentEntry object.

param: mixed $location The location for the feed, as a URL or Query.
return: Zend_Gdata_Photos_CommentEntry

insertAlbumEntry($album, $uri = null)   X-Ref
Create a new album from a AlbumEntry.

param: Zend_Gdata_Photos_AlbumEntry $album The album entry to
param: string $url (optional) The URI that the album should be
return: Zend_Gdata_Photos_AlbumEntry The inserted album entry as

insertPhotoEntry($photo, $uri = null)   X-Ref
Create a new photo from a PhotoEntry.

param: Zend_Gdata_Photos_PhotoEntry $photo The photo to insert.
param: string $url The URI that the photo should be uploaded
return: Zend_Gdata_Photos_PhotoEntry The inserted photo entry

insertTagEntry($tag, $uri = null)   X-Ref
Create a new tag from a TagEntry.

param: Zend_Gdata_Photos_TagEntry $tag The tag entry to insert.
param: string $url The URI where the tag should be
return: Zend_Gdata_Photos_TagEntry The inserted tag entry as returned

insertCommentEntry($comment, $uri = null)   X-Ref
Create a new comment from a CommentEntry.

param: Zend_Gdata_Photos_CommentEntry $comment The comment entry to
param: string $url The URI where the comment should be uploaded to.
return: Zend_Gdata_Photos_CommentEntry The inserted comment entry

deleteAlbumEntry($album, $catch)   X-Ref
Delete an AlbumEntry.

param: Zend_Gdata_Photos_AlbumEntry $album The album entry to
param: boolean $catch Whether to catch an exception when
return: void.

deletePhotoEntry($photo, $catch)   X-Ref
Delete a PhotoEntry.

param: Zend_Gdata_Photos_PhotoEntry $photo The photo entry to
param: boolean $catch Whether to catch an exception when
return: void.

deleteCommentEntry($comment, $catch)   X-Ref
Delete a CommentEntry.

param: Zend_Gdata_Photos_CommentEntry $comment The comment entry to
param: boolean $catch Whether to catch an exception when
return: void.

deleteTagEntry($tag, $catch)   X-Ref
Delete a TagEntry.

param: Zend_Gdata_Photos_TagEntry $tag The tag entry to
param: boolean $catch Whether to catch an exception when
return: void.



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1