Moodle  2.2.1
http://www.collinsharper.com
phpFlickr Class Reference

Public Member Functions

 __construct ($api_key, $secret=NULL, $token= '')
 request ($command, $args=array())
 clean_text_nodes ($arr)
 setToken ($token)
 setProxy ($server, $port)
 getErrorCode ()
 getErrorMsg ()
 buildPhotoURL ($photo, $size="Medium")
 getFriendlyGeodata ($lat, $lon)
 auth ($perms="write", $remember_uri=true)
 call ($method, $arguments)
 activity_userComments ($per_page=NULL, $page=NULL)
 activity_userPhotos ($timeframe=NULL, $per_page=NULL, $page=NULL)
 auth_checkToken ()
 auth_getFrob ()
 auth_getFullToken ($mini_token)
 auth_getToken ($frob)
 blogs_getList ()
 blogs_postPhoto ($blog_id, $photo_id, $title, $description, $blog_password=NULL)
 contacts_getList ($filter=NULL, $page=NULL, $per_page=NULL)
 contacts_getPublicList ($user_id, $page=NULL, $per_page=NULL)
 favorites_add ($photo_id)
 favorites_getList ($user_id=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 favorites_getPublicList ($user_id=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 favorites_remove ($photo_id)
 groups_browse ($cat_id=NULL)
 groups_getInfo ($group_id)
 groups_search ($text, $per_page=NULL, $page=NULL)
 groups_pools_add ($photo_id, $group_id)
 groups_pools_getContext ($photo_id, $group_id)
 groups_pools_getGroups ($page=NULL, $per_page=NULL)
 groups_pools_getPhotos ($group_id, $tags=NULL, $user_id=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 groups_pools_remove ($photo_id, $group_id)
 interestingness_getList ($date=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 people_findByEmail ($find_email)
 people_findByUsername ($username)
 people_getInfo ($user_id)
 people_getPublicGroups ($user_id)
 people_getPublicPhotos ($user_id, $extras=NULL, $per_page=NULL, $page=NULL)
 people_getUploadStatus ()
 photos_addTags ($photo_id, $tags)
 photos_delete ($photo_id)
 photos_getAllContexts ($photo_id)
 photos_getContactsPhotos ($count=NULL, $just_friends=NULL, $single_photo=NULL, $include_self=NULL, $extras=NULL)
 photos_getContactsPublicPhotos ($user_id, $count=NULL, $just_friends=NULL, $single_photo=NULL, $include_self=NULL, $extras=NULL)
 photos_getContext ($photo_id)
 photos_getCounts ($dates=NULL, $taken_dates=NULL)
 photos_getExif ($photo_id, $secret=NULL)
 photos_getFavorites ($photo_id, $page=NULL, $per_page=NULL)
 photos_getInfo ($photo_id, $secret=NULL)
 photos_getNotInSet ($min_upload_date=NULL, $max_upload_date=NULL, $min_taken_date=NULL, $max_taken_date=NULL, $privacy_filter=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 photos_getPerms ($photo_id)
 photos_getRecent ($extras=NULL, $per_page=NULL, $page=NULL)
 photos_getSizes ($photo_id)
 photos_getUntagged ($min_upload_date=NULL, $max_upload_date=NULL, $min_taken_date=NULL, $max_taken_date=NULL, $privacy_filter=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 photos_getWithGeoData ($args=NULL)
 photos_getWithoutGeoData ($args=NULL)
 photos_recentlyUpdated ($min_date=NULL, $extras=NULL, $per_page=NULL, $page=NULL)
 photos_removeTag ($tag_id)
 photos_search ($args)
 photos_setContentType ($photo_id, $content_type)
 photos_setDates ($photo_id, $date_posted=NULL, $date_taken=NULL, $date_taken_granularity=NULL)
 photos_setMeta ($photo_id, $title, $description)
 photos_setPerms ($photo_id, $is_public, $is_friend, $is_family, $perm_comment, $perm_addmeta)
 photos_setSafetyLevel ($photo_id, $safety_level, $hidden=null)
 photos_setTags ($photo_id, $tags)
 photos_comments_addComment ($photo_id, $comment_text)
 photos_comments_deleteComment ($comment_id)
 photos_comments_editComment ($comment_id, $comment_text)
 photos_comments_getList ($photo_id)
 photos_geo_getLocation ($photo_id)
 photos_geo_getPerms ($photo_id)
 photos_geo_removeLocation ($photo_id)
 photos_geo_setLocation ($photo_id, $lat, $lon, $accuracy=NULL)
 photos_geo_setPerms ($photo_id, $is_public, $is_contact, $is_friend, $is_family)
 photos_licenses_getInfo ()
 photos_licenses_setLicense ($photo_id, $license_id)
 photos_notes_add ($photo_id, $note_x, $note_y, $note_w, $note_h, $note_text)
 photos_notes_delete ($note_id)
 photos_notes_edit ($note_id, $note_x, $note_y, $note_w, $note_h, $note_text)
 photos_transform_rotate ($photo_id, $degrees)
 photos_upload_checkTickets ($tickets)
 photosets_addPhoto ($photoset_id, $photo_id)
 photosets_create ($title, $description, $primary_photo_id)
 photosets_delete ($photoset_id)
 photosets_editMeta ($photoset_id, $title, $description=NULL)
 photosets_editPhotos ($photoset_id, $primary_photo_id, $photo_ids)
 photosets_getContext ($photo_id, $photoset_id)
 photosets_getInfo ($photoset_id)
 photosets_getList ($user_id=NULL)
 photosets_getPhotos ($photoset_id, $extras=NULL, $privacy_filter=NULL, $per_page=NULL, $page=NULL)
 photosets_orderSets ($photoset_ids)
 photosets_removePhoto ($photoset_id, $photo_id)
 photosets_comments_addComment ($photoset_id, $comment_text)
 photosets_comments_deleteComment ($comment_id)
 photosets_comments_editComment ($comment_id, $comment_text)
 photosets_comments_getList ($photoset_id)
 places_resolvePlaceId ($place_id)
 places_resolvePlaceURL ($url)
 prefs_getContentType ()
 prefs_getHidden ()
 prefs_getPrivacy ()
 prefs_getSafetyLevel ()
 reflection_getMethodInfo ($method_name)
 reflection_getMethods ()
 tags_getHotList ($period=NULL, $count=NULL)
 tags_getListPhoto ($photo_id)
 tags_getListUser ($user_id=NULL)
 tags_getListUserPopular ($user_id=NULL, $count=NULL)
 tags_getListUserRaw ($tag)
 tags_getRelated ($tag)
 test_echo ($args=array())
 test_login ()
 urls_getGroup ($group_id)
 urls_getUserPhotos ($user_id=NULL)
 urls_getUserProfile ($user_id=NULL)
 urls_lookupGroup ($url)
 urls_lookupUser ($url)
 upload (stored_file $photo, array $meta=array())

Data Fields

 $api_key
 $secret
 $REST = 'http://api.flickr.com/services/rest/'
 $Upload = 'http://api.flickr.com/services/upload/'
 $Replace = 'http://api.flickr.com/services/replace/'
 $req
 $response
 $parsed_response
 $die_on_error
 $error_code
 $error_msg
 $token
 $php_version

Detailed Description

Definition at line 38 of file flickrlib.php.


Constructor & Destructor Documentation

__construct ( api_key,
secret = NULL,
token = '' 
)

When your database cache table hits this many rows, a cleanup will occur to get rid of all of the old rows and cleanup the garbage in the table. For most personal apps, 1000 rows should be more than enough. If your site gets hit by a lot of traffic or you have a lot of disk space to spare, bump this number up. You should try to set it high enough that the cleanup only happens every once in a while, so this will depend on the growth of your table.

object

Definition at line 66 of file flickrlib.php.


Member Function Documentation

activity_userComments ( per_page = NULL,
page = NULL 
)

These functions are the direct implementations of flickr calls. For method documentation, including arguments, visit the address included in a comment in the function. Activity methods

http://www.flickr.com/services/api/flickr.activity.userComments.html

Definition at line 276 of file flickrlib.php.

Here is the call graph for this function:

activity_userPhotos ( timeframe = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.activity.userPhotos.html

Definition at line 283 of file flickrlib.php.

Here is the call graph for this function:

auth ( perms = "write",
remember_uri = true 
)

Definition at line 241 of file flickrlib.php.

Authentication methods

http://www.flickr.com/services/api/flickr.auth.checkToken.html

Definition at line 291 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.auth.getFrob.html

Definition at line 298 of file flickrlib.php.

Here is the call graph for this function:

auth_getFullToken ( mini_token)

http://www.flickr.com/services/api/flickr.auth.getFullToken.html

Definition at line 305 of file flickrlib.php.

Here is the call graph for this function:

auth_getToken ( frob)

http://www.flickr.com/services/api/flickr.auth.getToken.html

Definition at line 312 of file flickrlib.php.

Here is the call graph for this function:

Blogs methods

http://www.flickr.com/services/api/flickr.blogs.getList.html

Definition at line 321 of file flickrlib.php.

Here is the call graph for this function:

blogs_postPhoto ( blog_id,
photo_id,
title,
description,
blog_password = NULL 
)

http://www.flickr.com/services/api/flickr.blogs.postPhoto.html

Definition at line 328 of file flickrlib.php.

Here is the call graph for this function:

buildPhotoURL ( photo,
size = "Medium" 
)

These functions are front ends for the flickr calls

Definition at line 206 of file flickrlib.php.

call ( method,
arguments 
)

To use the phpFlickr::call method, pass a string containing the API method you want to use and an associative array of arguments. For example: $result = $f->call("flickr.photos.comments.getList", array("photo_id"=>'34952612')); This method will allow you to make calls to arbitrary methods that haven't been implemented in phpFlickr yet.

Definition at line 263 of file flickrlib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

clean_text_nodes ( arr)

Definition at line 163 of file flickrlib.php.

Here is the caller graph for this function:

contacts_getList ( filter = NULL,
page = NULL,
per_page = NULL 
)

Contacts Methods

http://www.flickr.com/services/api/flickr.contacts.getList.html

Definition at line 336 of file flickrlib.php.

Here is the call graph for this function:

contacts_getPublicList ( user_id,
page = NULL,
per_page = NULL 
)

http://www.flickr.com/services/api/flickr.contacts.getPublicList.html

Definition at line 343 of file flickrlib.php.

Here is the call graph for this function:

favorites_add ( photo_id)

Favorites Methods

http://www.flickr.com/services/api/flickr.favorites.add.html

Definition at line 351 of file flickrlib.php.

Here is the call graph for this function:

favorites_getList ( user_id = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.favorites.getList.html

Definition at line 358 of file flickrlib.php.

Here is the call graph for this function:

favorites_getPublicList ( user_id = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.favorites.getPublicList.html

Definition at line 366 of file flickrlib.php.

Here is the call graph for this function:

favorites_remove ( photo_id)

http://www.flickr.com/services/api/flickr.favorites.remove.html

Definition at line 376 of file flickrlib.php.

Here is the call graph for this function:

Definition at line 190 of file flickrlib.php.

Definition at line 197 of file flickrlib.php.

getFriendlyGeodata ( lat,
lon 
)

I've added this method to get the friendly geodata (i.e. 'in New York, NY') that the website provides, but isn't available in the API. I'm providing this service as long as it doesn't flood my server with requests and crash it all the time.

Definition at line 233 of file flickrlib.php.

groups_browse ( cat_id = NULL)

Groups Methods

http://www.flickr.com/services/api/flickr.groups.browse.html

Definition at line 384 of file flickrlib.php.

Here is the call graph for this function:

groups_getInfo ( group_id)

http://www.flickr.com/services/api/flickr.groups.getInfo.html

Definition at line 391 of file flickrlib.php.

Here is the call graph for this function:

groups_pools_add ( photo_id,
group_id 
)

Groups Pools Methods

http://www.flickr.com/services/api/flickr.groups.pools.add.html

Definition at line 406 of file flickrlib.php.

Here is the call graph for this function:

groups_pools_getContext ( photo_id,
group_id 
)

http://www.flickr.com/services/api/flickr.groups.pools.getContext.html

Definition at line 413 of file flickrlib.php.

Here is the call graph for this function:

groups_pools_getGroups ( page = NULL,
per_page = NULL 
)

http://www.flickr.com/services/api/flickr.groups.pools.getGroups.html

Definition at line 420 of file flickrlib.php.

Here is the call graph for this function:

groups_pools_getPhotos ( group_id,
tags = NULL,
user_id = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.groups.pools.getPhotos.html

Definition at line 427 of file flickrlib.php.

Here is the call graph for this function:

groups_pools_remove ( photo_id,
group_id 
)

http://www.flickr.com/services/api/flickr.groups.pools.remove.html

Definition at line 437 of file flickrlib.php.

Here is the call graph for this function:

groups_search ( text,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.groups.search.html

Definition at line 398 of file flickrlib.php.

Here is the call graph for this function:

interestingness_getList ( date = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

Interestingness methods

http://www.flickr.com/services/api/flickr.interestingness.getList.html

Definition at line 445 of file flickrlib.php.

Here is the call graph for this function:

people_findByEmail ( find_email)

People methods

http://www.flickr.com/services/api/flickr.people.findByEmail.html

Definition at line 457 of file flickrlib.php.

Here is the call graph for this function:

people_findByUsername ( username)

http://www.flickr.com/services/api/flickr.people.findByUsername.html

Definition at line 464 of file flickrlib.php.

Here is the call graph for this function:

people_getInfo ( user_id)

http://www.flickr.com/services/api/flickr.people.getInfo.html

Definition at line 471 of file flickrlib.php.

Here is the call graph for this function:

people_getPublicGroups ( user_id)

http://www.flickr.com/services/api/flickr.people.getPublicGroups.html

Definition at line 478 of file flickrlib.php.

Here is the call graph for this function:

people_getPublicPhotos ( user_id,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.people.getPublicPhotos.html

Definition at line 485 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.people.getUploadStatus.html

Requires Authentication

Definition at line 495 of file flickrlib.php.

Here is the call graph for this function:

photos_addTags ( photo_id,
tags 
)

Photos Methods

http://www.flickr.com/services/api/flickr.photos.addTags.html

Definition at line 505 of file flickrlib.php.

Here is the call graph for this function:

photos_comments_addComment ( photo_id,
comment_text 
)

Photos - Comments Methods

http://www.flickr.com/services/api/flickr.photos.comments.addComment.html

Definition at line 723 of file flickrlib.php.

Here is the call graph for this function:

photos_comments_deleteComment ( comment_id)

http://www.flickr.com/services/api/flickr.photos.comments.deleteComment.html

Definition at line 729 of file flickrlib.php.

Here is the call graph for this function:

photos_comments_editComment ( comment_id,
comment_text 
)

http://www.flickr.com/services/api/flickr.photos.comments.editComment.html

Definition at line 735 of file flickrlib.php.

Here is the call graph for this function:

photos_comments_getList ( photo_id)

http://www.flickr.com/services/api/flickr.photos.comments.getList.html

Definition at line 741 of file flickrlib.php.

Here is the call graph for this function:

photos_delete ( photo_id)

http://www.flickr.com/services/api/flickr.photos.delete.html

Definition at line 512 of file flickrlib.php.

Here is the call graph for this function:

photos_geo_getLocation ( photo_id)

Photos - Geo Methods

http://www.flickr.com/services/api/flickr.photos.geo.getLocation.html

Definition at line 749 of file flickrlib.php.

Here is the call graph for this function:

photos_geo_getPerms ( photo_id)

http://www.flickr.com/services/api/flickr.photos.geo.getPerms.html

Definition at line 756 of file flickrlib.php.

Here is the call graph for this function:

photos_geo_removeLocation ( photo_id)

http://www.flickr.com/services/api/flickr.photos.geo.removeLocation.html

Definition at line 763 of file flickrlib.php.

Here is the call graph for this function:

photos_geo_setLocation ( photo_id,
lat,
lon,
accuracy = NULL 
)

http://www.flickr.com/services/api/flickr.photos.geo.setLocation.html

Definition at line 770 of file flickrlib.php.

Here is the call graph for this function:

photos_geo_setPerms ( photo_id,
is_public,
is_contact,
is_friend,
is_family 
)

http://www.flickr.com/services/api/flickr.photos.geo.setPerms.html

Definition at line 777 of file flickrlib.php.

Here is the call graph for this function:

photos_getAllContexts ( photo_id)

http://www.flickr.com/services/api/flickr.photos.getAllContexts.html

Definition at line 519 of file flickrlib.php.

Here is the call graph for this function:

photos_getContactsPhotos ( count = NULL,
just_friends = NULL,
single_photo = NULL,
include_self = NULL,
extras = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getContactsPhotos.html

Definition at line 526 of file flickrlib.php.

Here is the call graph for this function:

photos_getContactsPublicPhotos ( user_id,
count = NULL,
just_friends = NULL,
single_photo = NULL,
include_self = NULL,
extras = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getContactsPublicPhotos.html

Definition at line 533 of file flickrlib.php.

Here is the call graph for this function:

photos_getContext ( photo_id)

http://www.flickr.com/services/api/flickr.photos.getContext.html

Definition at line 540 of file flickrlib.php.

Here is the call graph for this function:

photos_getCounts ( dates = NULL,
taken_dates = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getCounts.html

Definition at line 547 of file flickrlib.php.

Here is the call graph for this function:

photos_getExif ( photo_id,
secret = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getExif.html

Definition at line 554 of file flickrlib.php.

Here is the call graph for this function:

photos_getFavorites ( photo_id,
page = NULL,
per_page = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getFavorites.html

Definition at line 561 of file flickrlib.php.

Here is the call graph for this function:

photos_getInfo ( photo_id,
secret = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getInfo.html

Definition at line 568 of file flickrlib.php.

Here is the call graph for this function:

photos_getNotInSet ( min_upload_date = NULL,
max_upload_date = NULL,
min_taken_date = NULL,
max_taken_date = NULL,
privacy_filter = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getNotInSet.html

Definition at line 575 of file flickrlib.php.

Here is the call graph for this function:

photos_getPerms ( photo_id)

http://www.flickr.com/services/api/flickr.photos.getPerms.html

Definition at line 585 of file flickrlib.php.

Here is the call graph for this function:

photos_getRecent ( extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getRecent.html

Definition at line 592 of file flickrlib.php.

Here is the call graph for this function:

photos_getSizes ( photo_id)

http://www.flickr.com/services/api/flickr.photos.getSizes.html

Definition at line 603 of file flickrlib.php.

Here is the call graph for this function:

photos_getUntagged ( min_upload_date = NULL,
max_upload_date = NULL,
min_taken_date = NULL,
max_taken_date = NULL,
privacy_filter = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getUntagged.html

Definition at line 610 of file flickrlib.php.

Here is the call graph for this function:

photos_getWithGeoData ( args = NULL)

See the documentation included with the photos_search() function. I'm using the same style of arguments for this function. The only difference here is that this doesn't require any arguments. The flickr.photos.search method requires at least one search parameter.

http://www.flickr.com/services/api/flickr.photos.getWithGeoData.html

Definition at line 620 of file flickrlib.php.

Here is the call graph for this function:

photos_getWithoutGeoData ( args = NULL)

See the documentation included with the photos_search() function. I'm using the same style of arguments for this function. The only difference here is that this doesn't require any arguments. The flickr.photos.search method requires at least one search parameter.

http://www.flickr.com/services/api/flickr.photos.getWithoutGeoData.html

Definition at line 634 of file flickrlib.php.

Here is the call graph for this function:

Photos - Licenses Methods

http://www.flickr.com/services/api/flickr.photos.licenses.getInfo.html

Definition at line 785 of file flickrlib.php.

Here is the call graph for this function:

photos_licenses_setLicense ( photo_id,
license_id 
)

http://www.flickr.com/services/api/flickr.photos.licenses.setLicense.html

Requires Authentication

Definition at line 792 of file flickrlib.php.

Here is the call graph for this function:

photos_notes_add ( photo_id,
note_x,
note_y,
note_w,
note_h,
note_text 
)

Photos - Notes Methods

http://www.flickr.com/services/api/flickr.photos.notes.add.html

Definition at line 801 of file flickrlib.php.

Here is the call graph for this function:

photos_notes_delete ( note_id)

http://www.flickr.com/services/api/flickr.photos.notes.delete.html

Definition at line 808 of file flickrlib.php.

Here is the call graph for this function:

photos_notes_edit ( note_id,
note_x,
note_y,
note_w,
note_h,
note_text 
)

http://www.flickr.com/services/api/flickr.photos.notes.edit.html

Definition at line 815 of file flickrlib.php.

Here is the call graph for this function:

photos_recentlyUpdated ( min_date = NULL,
extras = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.photos.getUntagged.html

Definition at line 648 of file flickrlib.php.

Here is the call graph for this function:

photos_removeTag ( tag_id)

http://www.flickr.com/services/api/flickr.photos.removeTag.html

Definition at line 658 of file flickrlib.php.

Here is the call graph for this function:

photos_search ( args)

This function strays from the method of arguments that I've used in the other functions for the fact that there are just so many arguments to this API method. What you'll need to do is pass an associative array to the function containing the arguments you want to pass to the API. For example: $photos = $f->photos_search(array("tags"=>"brown,cow", "tag_mode"=>"any")); This will return photos tagged with either "brown" or "cow" or both. See the API documentation (link below) for a full list of arguments.

http://www.flickr.com/services/api/flickr.photos.search.html

Definition at line 665 of file flickrlib.php.

Here is the call graph for this function:

photos_setContentType ( photo_id,
content_type 
)

http://www.flickr.com/services/api/flickr.photos.setContentType.html

Definition at line 683 of file flickrlib.php.

Here is the call graph for this function:

photos_setDates ( photo_id,
date_posted = NULL,
date_taken = NULL,
date_taken_granularity = NULL 
)

http://www.flickr.com/services/api/flickr.photos.setDates.html

Definition at line 688 of file flickrlib.php.

Here is the call graph for this function:

photos_setMeta ( photo_id,
title,
description 
)

http://www.flickr.com/services/api/flickr.photos.setMeta.html

Definition at line 695 of file flickrlib.php.

Here is the call graph for this function:

photos_setPerms ( photo_id,
is_public,
is_friend,
is_family,
perm_comment,
perm_addmeta 
)

http://www.flickr.com/services/api/flickr.photos.setPerms.html

Definition at line 702 of file flickrlib.php.

Here is the call graph for this function:

photos_setSafetyLevel ( photo_id,
safety_level,
hidden = null 
)

http://www.flickr.com/services/api/flickr.photos.setSafetyLevel.html

Definition at line 709 of file flickrlib.php.

Here is the call graph for this function:

photos_setTags ( photo_id,
tags 
)

http://www.flickr.com/services/api/flickr.photos.setTags.html

Definition at line 715 of file flickrlib.php.

Here is the call graph for this function:

photos_transform_rotate ( photo_id,
degrees 
)

Photos - Transform Methods

http://www.flickr.com/services/api/flickr.photos.transform.rotate.html

Definition at line 823 of file flickrlib.php.

Here is the call graph for this function:

Photos - Upload Methods

http://www.flickr.com/services/api/flickr.photos.upload.checkTickets.html

Definition at line 831 of file flickrlib.php.

Here is the call graph for this function:

photosets_addPhoto ( photoset_id,
photo_id 
)

Photosets Methods

http://www.flickr.com/services/api/flickr.photosets.addPhoto.html

Definition at line 842 of file flickrlib.php.

Here is the call graph for this function:

photosets_comments_addComment ( photoset_id,
comment_text 
)

Photosets Comments Methods

http://www.flickr.com/services/api/flickr.photosets.comments.addComment.html

Definition at line 923 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.photosets.comments.deleteComment.html

Definition at line 929 of file flickrlib.php.

Here is the call graph for this function:

photosets_comments_editComment ( comment_id,
comment_text 
)

http://www.flickr.com/services/api/flickr.photosets.comments.editComment.html

Definition at line 935 of file flickrlib.php.

Here is the call graph for this function:

photosets_comments_getList ( photoset_id)

http://www.flickr.com/services/api/flickr.photosets.comments.getList.html

Definition at line 941 of file flickrlib.php.

Here is the call graph for this function:

photosets_create ( title,
description,
primary_photo_id 
)

http://www.flickr.com/services/api/flickr.photosets.create.html

Definition at line 849 of file flickrlib.php.

Here is the call graph for this function:

photosets_delete ( photoset_id)

http://www.flickr.com/services/api/flickr.photosets.delete.html

Definition at line 856 of file flickrlib.php.

Here is the call graph for this function:

photosets_editMeta ( photoset_id,
title,
description = NULL 
)

http://www.flickr.com/services/api/flickr.photosets.editMeta.html

Definition at line 863 of file flickrlib.php.

Here is the call graph for this function:

photosets_editPhotos ( photoset_id,
primary_photo_id,
photo_ids 
)

http://www.flickr.com/services/api/flickr.photosets.editPhotos.html

Definition at line 870 of file flickrlib.php.

Here is the call graph for this function:

photosets_getContext ( photo_id,
photoset_id 
)

http://www.flickr.com/services/api/flickr.photosets.getContext.html

Definition at line 877 of file flickrlib.php.

Here is the call graph for this function:

photosets_getInfo ( photoset_id)

http://www.flickr.com/services/api/flickr.photosets.getInfo.html

Definition at line 884 of file flickrlib.php.

Here is the call graph for this function:

photosets_getList ( user_id = NULL)

http://www.flickr.com/services/api/flickr.photosets.getList.html

Definition at line 891 of file flickrlib.php.

Here is the call graph for this function:

photosets_getPhotos ( photoset_id,
extras = NULL,
privacy_filter = NULL,
per_page = NULL,
page = NULL 
)

http://www.flickr.com/services/api/flickr.photosets.getPhotos.html

Definition at line 898 of file flickrlib.php.

Here is the call graph for this function:

photosets_orderSets ( photoset_ids)

http://www.flickr.com/services/api/flickr.photosets.orderSets.html

Definition at line 905 of file flickrlib.php.

Here is the call graph for this function:

photosets_removePhoto ( photoset_id,
photo_id 
)

http://www.flickr.com/services/api/flickr.photosets.removePhoto.html

Definition at line 915 of file flickrlib.php.

Here is the call graph for this function:

places_resolvePlaceId ( place_id)

Places Methods

http://www.flickr.com/services/api/flickr.places.resolvePlaceId.html

Definition at line 949 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.places.resolvePlaceURL.html

Definition at line 955 of file flickrlib.php.

Here is the call graph for this function:

Prefs Methods

http://www.flickr.com/services/api/flickr.prefs.getContentType.html

Definition at line 962 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.prefs.getHidden.html

Definition at line 968 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.prefs.getPrivacy.html

Definition at line 974 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.prefs.getSafetyLevel.html

Definition at line 980 of file flickrlib.php.

Here is the call graph for this function:

reflection_getMethodInfo ( method_name)

Reflection Methods

http://www.flickr.com/services/api/flickr.reflection.getMethodInfo.html

Definition at line 987 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.reflection.getMethods.html

Definition at line 994 of file flickrlib.php.

Here is the call graph for this function:

request ( command,
args = array() 
)

Definition at line 82 of file flickrlib.php.

Here is the call graph for this function:

setProxy ( server,
port 
)

Definition at line 184 of file flickrlib.php.

setToken ( token)

Definition at line 178 of file flickrlib.php.

tags_getHotList ( period = NULL,
count = NULL 
)

Tags Methods

http://www.flickr.com/services/api/flickr.tags.getHotList.html

Definition at line 1002 of file flickrlib.php.

Here is the call graph for this function:

tags_getListPhoto ( photo_id)

http://www.flickr.com/services/api/flickr.tags.getListPhoto.html

Definition at line 1009 of file flickrlib.php.

Here is the call graph for this function:

tags_getListUser ( user_id = NULL)

http://www.flickr.com/services/api/flickr.tags.getListUser.html

Definition at line 1016 of file flickrlib.php.

Here is the call graph for this function:

tags_getListUserPopular ( user_id = NULL,
count = NULL 
)

http://www.flickr.com/services/api/flickr.tags.getListUserPopular.html

Definition at line 1023 of file flickrlib.php.

Here is the call graph for this function:

tags_getListUserRaw ( tag)

http://www.flickr.com/services/api/flickr.tags.getListUserRaw.html

Definition at line 1030 of file flickrlib.php.

Here is the call graph for this function:

tags_getRelated ( tag)

http://www.flickr.com/services/api/flickr.tags.getRelated.html

Definition at line 1037 of file flickrlib.php.

Here is the call graph for this function:

test_echo ( args = array())

http://www.flickr.com/services/api/flickr.test.echo.html

Definition at line 1044 of file flickrlib.php.

Here is the call graph for this function:

http://www.flickr.com/services/api/flickr.test.login.html

Definition at line 1051 of file flickrlib.php.

Here is the call graph for this function:

upload ( stored_file photo,
array meta = array() 
)

Upload a photo from Moodle file pool to Flickr

Optional meta information are title, description, tags, is_public, is_friend, is_family, safety_level, content_type and hidden {

See also:
http://www.flickr.com/services/api/upload.api.html}
Parameters:
stored_file$photostored in Moodle file pool
array$metaoptional meta information
Returns:
boolean

Definition at line 1103 of file flickrlib.php.

Here is the call graph for this function:

urls_getGroup ( group_id)

http://www.flickr.com/services/api/flickr.urls.getGroup.html

Definition at line 1058 of file flickrlib.php.

Here is the call graph for this function:

urls_getUserPhotos ( user_id = NULL)

http://www.flickr.com/services/api/flickr.urls.getUserPhotos.html

Definition at line 1065 of file flickrlib.php.

Here is the call graph for this function:

urls_getUserProfile ( user_id = NULL)

http://www.flickr.com/services/api/flickr.urls.getUserProfile.html

Definition at line 1072 of file flickrlib.php.

Here is the call graph for this function:

urls_lookupGroup ( url)

http://www.flickr.com/services/api/flickr.urls.lookupGroup.html

Definition at line 1079 of file flickrlib.php.

Here is the call graph for this function:

urls_lookupUser ( url)

http://www.flickr.com/services/api/flickr.photos.notes.edit.html

Definition at line 1086 of file flickrlib.php.

Here is the call graph for this function:


Field Documentation

$api_key

Definition at line 39 of file flickrlib.php.

$die_on_error

Definition at line 47 of file flickrlib.php.

$error_code

Definition at line 48 of file flickrlib.php.

$error_msg

Definition at line 49 of file flickrlib.php.

$parsed_response

Definition at line 46 of file flickrlib.php.

$php_version

Definition at line 51 of file flickrlib.php.

$Replace = 'http://api.flickr.com/services/replace/'

Definition at line 43 of file flickrlib.php.

$req

Definition at line 44 of file flickrlib.php.

Definition at line 45 of file flickrlib.php.

$REST = 'http://api.flickr.com/services/rest/'

Definition at line 41 of file flickrlib.php.

$secret

Definition at line 40 of file flickrlib.php.

$token

Definition at line 50 of file flickrlib.php.

$Upload = 'http://api.flickr.com/services/upload/'

Definition at line 42 of file flickrlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations