|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($client=null, $applicationId= 'MyCompany-MyApp-1.0') | |
| getUserFeed ($userName=null, $location=null) | |
| getAlbumFeed ($location=null) | |
| getPhotoFeed ($location=null) | |
| getUserEntry ($location) | |
| getAlbumEntry ($location) | |
| getPhotoEntry ($location) | |
| getTagEntry ($location) | |
| getCommentEntry ($location) | |
| insertAlbumEntry ($album, $uri=null) | |
| insertPhotoEntry ($photo, $uri=null) | |
| insertTagEntry ($tag, $uri=null) | |
| insertCommentEntry ($comment, $uri=null) | |
| deleteAlbumEntry ($album, $catch) | |
| deletePhotoEntry ($photo, $catch) | |
| deleteCommentEntry ($comment, $catch) | |
| deleteTagEntry ($tag, $catch) | |
Data Fields | |
| const | PICASA_BASE_URI = 'http://picasaweb.google.com/data' |
| const | PICASA_BASE_FEED_URI = 'http://picasaweb.google.com/data/feed' |
| const | AUTH_SERVICE_NAME = 'lh2' |
| const | DEFAULT_PROJECTION = 'api' |
| const | DEFAULT_VISIBILITY = 'all' |
| const | DEFAULT_USER = 'default' |
| const | USER_PATH = 'user' |
| const | ALBUM_PATH = 'albumid' |
| const | PHOTO_PATH = 'photoid' |
| const | COMMUNITY_SEARCH_PATH = 'all' |
| const | FEED_LINK_PATH = 'http://schemas.google.com/g/2005#feed' |
| const | KIND_PATH = 'http://schemas.google.com/g/2005#kind' |
Static Public Attributes | |
| static | $namespaces |
Definition at line 58 of file Photos.php.
| __construct | ( | $ | client = null, |
| $ | applicationId = 'MyCompany-MyApp-1.0' |
||
| ) |
Create Zend_Gdata_Photos object
| Zend_Http_Client | $client | (optional) The HTTP client to use when when communicating with the servers. |
| string | $applicationId | The identity of the app in the form of Company-AppName-Version |
Reimplemented from Zend_Gdata.
Definition at line 131 of file Photos.php.

| deleteAlbumEntry | ( | $ | album, |
| $ | catch | ||
| ) |
Delete an AlbumEntry.
| Zend_Gdata_Photos_AlbumEntry | $album | The album entry to delete. |
| boolean | $catch | Whether to catch an exception when modified and re-delete or throw |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 471 of file Photos.php.

| deleteCommentEntry | ( | $ | comment, |
| $ | catch | ||
| ) |
Delete a CommentEntry.
| Zend_Gdata_Photos_CommentEntry | $comment | The comment entry to delete. |
| boolean | $catch | Whether to catch an exception when modified and re-delete or throw |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 529 of file Photos.php.

| deletePhotoEntry | ( | $ | photo, |
| $ | catch | ||
| ) |
Delete a PhotoEntry.
| Zend_Gdata_Photos_PhotoEntry | $photo | The photo entry to delete. |
| boolean | $catch | Whether to catch an exception when modified and re-delete or throw |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 500 of file Photos.php.

| deleteTagEntry | ( | $ | tag, |
| $ | catch | ||
| ) |
Delete a TagEntry.
| Zend_Gdata_Photos_TagEntry | $tag | The tag entry to delete. |
| boolean | $catch | Whether to catch an exception when modified and re-delete or throw |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 558 of file Photos.php.

| getAlbumEntry | ( | $ | location | ) |
Retreive a single AlbumEntry object.
| mixed | $location | The location for the feed, as a URL or Query. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 265 of file Photos.php.

| getAlbumFeed | ( | $ | location = null | ) |
Retreive AlbumFeed object containing multiple PhotoEntry or TagEntry objects.
| mixed | $location | (optional) The location for the feed, as a URL or Query. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 187 of file Photos.php.

| getCommentEntry | ( | $ | location | ) |
Retreive a single CommentEntry object.
| mixed | $location | The location for the feed, as a URL or Query. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 340 of file Photos.php.

| getPhotoEntry | ( | $ | location | ) |
Retreive a single PhotoEntry object.
| mixed | $location | The location for the feed, as a URL or Query. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 290 of file Photos.php.

| getPhotoFeed | ( | $ | location = null | ) |
Retreive PhotoFeed object containing comments and tags associated with a given photo.
| mixed | $location | (optional) The location for the feed, as a URL or Query. If not specified, the community search feed will be returned instead. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 215 of file Photos.php.

| getTagEntry | ( | $ | location | ) |
Retreive a single TagEntry object.
| mixed | $location | The location for the feed, as a URL or Query. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 315 of file Photos.php.

| getUserEntry | ( | $ | location | ) |
Retreive a single UserEntry object.
| mixed | $location | The location for the feed, as a URL or Query. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 240 of file Photos.php.

| getUserFeed | ( | $ | userName = null, |
| $ | location = null |
||
| ) |
Retrieve a UserFeed containing AlbumEntries, PhotoEntries and TagEntries associated with a given user.
| string | $userName | The userName of interest |
| mixed | $location | (optional) The location for the feed, as a URL or Query. If not provided, a default URL will be used instead. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 150 of file Photos.php.

| insertAlbumEntry | ( | $ | album, |
| $ | uri = null |
||
| ) |
Create a new album from a AlbumEntry.
| Zend_Gdata_Photos_AlbumEntry | $album | The album entry to insert. |
| string | $url | (optional) The URI that the album should be uploaded to. If null, the default album creation URI for this domain will be used. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 370 of file Photos.php.

| insertCommentEntry | ( | $ | comment, |
| $ | uri = null |
||
| ) |
Create a new comment from a CommentEntry.
| Zend_Gdata_Photos_CommentEntry | $comment | The comment entry to insert. |
| string | $url | The URI where the comment should be uploaded to. Alternatively, a PhotoEntry can be provided and the comment will be added to that photo. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 446 of file Photos.php.

| insertPhotoEntry | ( | $ | photo, |
| $ | uri = null |
||
| ) |
Create a new photo from a PhotoEntry.
| Zend_Gdata_Photos_PhotoEntry | $photo | The photo to insert. |
| string | $url | The URI that the photo should be uploaded to. Alternatively, an AlbumEntry can be provided and the photo will be added to that album. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 393 of file Photos.php.

| insertTagEntry | ( | $ | tag, |
| $ | uri = null |
||
| ) |
Create a new tag from a TagEntry.
| Zend_Gdata_Photos_TagEntry | $tag | The tag entry to insert. |
| string | $url | The URI where the tag should be uploaded to. Alternatively, a PhotoEntry can be provided and the tag will be added to that photo. |
| Zend_Gdata_App_Exception | |
| Zend_Gdata_App_HttpException |
Definition at line 419 of file Photos.php.

$namespaces [static] |
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) )
Reimplemented from Zend_Gdata.
Definition at line 115 of file Photos.php.
| const ALBUM_PATH = 'albumid' |
Path to album feeds on the Picasa server.
Definition at line 88 of file Photos.php.
| const AUTH_SERVICE_NAME = 'lh2' |
Reimplemented from Zend_Gdata.
Definition at line 63 of file Photos.php.
| const COMMUNITY_SEARCH_PATH = 'all' |
The path to the community search feed on the Picasa server.
Definition at line 98 of file Photos.php.
| const DEFAULT_PROJECTION = 'api' |
Default projection when interacting with the Picasa server.
Definition at line 68 of file Photos.php.
| const DEFAULT_USER = 'default' |
The default user to retrieve feeds for.
Definition at line 78 of file Photos.php.
| const DEFAULT_VISIBILITY = 'all' |
The default visibility to filter events by.
Definition at line 73 of file Photos.php.
| const FEED_LINK_PATH = 'http://schemas.google.com/g/2005#feed' |
The path to use for finding links to feeds within entries
Definition at line 103 of file Photos.php.
| const KIND_PATH = 'http://schemas.google.com/g/2005#kind' |
The path to use for the determining type of an entry
Definition at line 108 of file Photos.php.
| const PHOTO_PATH = 'photoid' |
Path to photo feeds on the Picasa server.
Definition at line 93 of file Photos.php.
| const PICASA_BASE_FEED_URI = 'http://picasaweb.google.com/data/feed' |
Definition at line 62 of file Photos.php.
| const PICASA_BASE_URI = 'http://picasaweb.google.com/data' |
Definition at line 61 of file Photos.php.
Path to the user feed on the Picasa server.
Definition at line 83 of file Photos.php.