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 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.
PICASA_BASE_URI = 'https://picasaweb.google.com/data'
PICASA_BASE_FEED_URI = 'https://picasaweb.google.com/data/feed'
AUTH_SERVICE_NAME = 'lh2'
DEFAULT_PROJECTION = 'api'
Default projection when interacting with the Picasa server.
DEFAULT_VISIBILITY = 'all'
The default visibility to filter events by.
DEFAULT_USER = 'default'
The default user to retrieve feeds for.
USER_PATH = 'user'
Path to the user feed on the Picasa server.
ALBUM_PATH = 'albumid'
Path to album feeds on the Picasa server.
PHOTO_PATH = 'photoid'
Path to photo feeds on the Picasa server.
COMMUNITY_SEARCH_PATH = 'all'
The path to the community search feed on the Picasa server.
FEED_LINK_PATH = 'http://schemas.google.com/g/2005#feed'
The path to use for finding links to feeds within entries
KIND_PATH = 'http://schemas.google.com/g/2005#kind'
The path to use for the determining type of an entry
array $namespaces = 'array'
Namespaces used for Zend_Gdata_Photos
__construct(
Zend_Http_Client $client
=
null, string $applicationId
=
MyCompany-MyApp-1.0
)
:
Create Zend_Gdata_Photos object
deleteAlbumEntry(
Zend_Gdata_Photos_AlbumEntry $album, boolean $catch
)
:
void.
Delete an AlbumEntry.
deleteCommentEntry(
Zend_Gdata_Photos_CommentEntry $comment, boolean $catch
)
:
void.
Delete a CommentEntry.
deletePhotoEntry(
Zend_Gdata_Photos_PhotoEntry $photo, boolean $catch
)
:
void.
Delete a PhotoEntry.
deleteTagEntry(
Zend_Gdata_Photos_TagEntry $tag, boolean $catch
)
:
void.
Delete a TagEntry.
getAlbumEntry(
mixed $location
)
:
Zend_Gdata_Photos_AlbumEntry
Retreive a single AlbumEntry object.
getAlbumFeed(
mixed $location
=
null
)
:
Zend_Gdata_Photos_AlbumFeed
Retreive AlbumFeed object containing multiple PhotoEntry or TagEntry objects.
getCommentEntry(
mixed $location
)
:
Zend_Gdata_Photos_CommentEntry
Retreive a single CommentEntry object.
getPhotoEntry(
mixed $location
)
:
Zend_Gdata_Photos_PhotoEntry
Retreive a single PhotoEntry object.
getPhotoFeed(
mixed $location
=
null
)
:
Zend_Gdata_Photos_PhotoFeed
Retreive PhotoFeed object containing comments and tags associated with a given photo.
getTagEntry(
mixed $location
)
:
Zend_Gdata_Photos_TagEntry
Retreive a single TagEntry object.
getUserEntry(
mixed $location
)
:
Zend_Gdata_Photos_UserEntry
Retreive a single UserEntry object.
getUserFeed(
string $userName
=
null, mixed $location
=
null
)
:
Zend_Gdata_Photos_UserFeed
Retrieve a UserFeed containing AlbumEntries, PhotoEntries and TagEntries associated with a given user.
insertAlbumEntry(
Zend_Gdata_Photos_AlbumEntry $album, $uri
=
null
)
:
Zend_Gdata_Photos_AlbumEntry
Create a new album from a AlbumEntry.
insertCommentEntry(
Zend_Gdata_Photos_CommentEntry $comment, $uri
=
null
)
:
Zend_Gdata_Photos_CommentEntry
Create a new comment from a CommentEntry.
insertPhotoEntry(
Zend_Gdata_Photos_PhotoEntry $photo, $uri
=
null
)
:
Zend_Gdata_Photos_PhotoEntry
Create a new photo from a PhotoEntry.
insertTagEntry(
Zend_Gdata_Photos_TagEntry $tag, $uri
=
null
)
:
Zend_Gdata_Photos_TagEntry
Create a new tag from a TagEntry.