Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
phpFlickr Class 2.2.0 Written by Dan Coulter (dan@dancoulter.com) Sourceforge Project Page: {@link http://www.sourceforge.net/projects/phpflickr/} Released under GNU Lesser General Public License ({@link http://www.gnu.org/copyleft/lgpl.html}) For more information about the class and upcoming tools and toys using it, visit {@link http://www.phpflickr.com/} or {@link http://phpflickr.sourceforge.net} For installation instructions, open the README.txt file packaged with this class. If you don't have a copy, you can see it at: {@link http://www.phpflickr.com/README.txt}
File Size: | 1169 lines (53 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
phpFlickr:: (119 methods):
__construct()
request()
clean_text_nodes()
setToken()
setProxy()
getErrorCode()
getErrorMsg()
buildPhotoURL()
getFriendlyGeodata()
auth()
call()
activity_userComments()
activity_userPhotos()
auth_checkToken()
auth_getFrob()
auth_getFullToken()
auth_getToken()
blogs_getList()
blogs_postPhoto()
contacts_getList()
contacts_getPublicList()
favorites_add()
favorites_getList()
favorites_getPublicList()
favorites_remove()
groups_browse()
groups_getInfo()
groups_search()
groups_pools_add()
groups_pools_getContext()
groups_pools_getGroups()
groups_pools_getPhotos()
groups_pools_remove()
interestingness_getList()
people_findByEmail()
people_findByUsername()
people_getInfo()
people_getPublicGroups()
people_getPublicPhotos()
people_getUploadStatus()
photos_addTags()
photos_delete()
photos_getAllContexts()
photos_getContactsPhotos()
photos_getContactsPublicPhotos()
photos_getContext()
photos_getCounts()
photos_getExif()
photos_getFavorites()
photos_getInfo()
photos_getNotInSet()
photos_getPerms()
photos_getRecent()
photos_getSizes()
photos_getUntagged()
photos_getWithGeoData()
photos_getWithoutGeoData()
photos_recentlyUpdated()
photos_removeTag()
photos_search()
photos_setContentType()
photos_setDates()
photos_setMeta()
photos_setPerms()
photos_setSafetyLevel()
photos_setTags()
photos_comments_addComment()
photos_comments_deleteComment()
photos_comments_editComment()
photos_comments_getList()
photos_geo_getLocation()
photos_geo_getPerms()
photos_geo_removeLocation()
photos_geo_setLocation()
photos_geo_setPerms()
photos_licenses_getInfo()
photos_licenses_setLicense()
photos_notes_add()
photos_notes_delete()
photos_notes_edit()
photos_transform_rotate()
photos_upload_checkTickets()
photosets_addPhoto()
photosets_create()
photosets_delete()
photosets_editMeta()
photosets_editPhotos()
photosets_getContext()
photosets_getInfo()
photosets_getList()
photosets_getPhotos()
photosets_orderSets()
photosets_removePhoto()
photosets_comments_addComment()
photosets_comments_deleteComment()
photosets_comments_editComment()
photosets_comments_getList()
places_resolvePlaceId()
places_resolvePlaceURL()
prefs_getContentType()
prefs_getHidden()
prefs_getPrivacy()
prefs_getSafetyLevel()
reflection_getMethodInfo()
reflection_getMethods()
tags_getHotList()
tags_getListPhoto()
tags_getListUser()
tags_getListUserPopular()
tags_getListUserRaw()
tags_getRelated()
test_echo()
test_login()
urls_getGroup()
urls_getUserPhotos()
urls_getUserProfile()
urls_lookupGroup()
urls_lookupUser()
upload()
__construct($api_key, $secret = NULL, $token = '') X-Ref |
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. |
request($command, $args = array() X-Ref |
No description |
clean_text_nodes($arr) X-Ref |
No description |
setToken($token) X-Ref |
No description |
setProxy($server, $port) X-Ref |
No description |
getErrorCode() X-Ref |
No description |
getErrorMsg() X-Ref |
No description |
buildPhotoURL($photo, $size = "Medium") X-Ref |
No description |
getFriendlyGeodata($lat, $lon) X-Ref |
No description |
auth($perms = "write", $remember_uri = true) X-Ref |
No description |
call($method, $arguments) X-Ref |
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. |
activity_userComments($per_page = NULL, $page = NULL) X-Ref |
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_userPhotos($timeframe = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
auth_checkToken() X-Ref |
No description |
auth_getFrob() X-Ref |
No description |
auth_getFullToken($mini_token) X-Ref |
No description |
auth_getToken($frob) X-Ref |
No description |
blogs_getList() X-Ref |
No description |
blogs_postPhoto($blog_id, $photo_id, $title, $description, $blog_password = NULL) X-Ref |
No description |
contacts_getList($filter = NULL, $page = NULL, $per_page = NULL) X-Ref |
No description |
contacts_getPublicList($user_id, $page = NULL, $per_page = NULL) X-Ref |
No description |
favorites_add($photo_id) X-Ref |
No description |
favorites_getList($user_id = NULL, $extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
favorites_getPublicList($user_id = NULL, $extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
favorites_remove($photo_id) X-Ref |
No description |
groups_browse($cat_id = NULL) X-Ref |
No description |
groups_getInfo($group_id) X-Ref |
No description |
groups_search($text, $per_page=NULL, $page=NULL) X-Ref |
No description |
groups_pools_add($photo_id, $group_id) X-Ref |
No description |
groups_pools_getContext($photo_id, $group_id) X-Ref |
No description |
groups_pools_getGroups($page = NULL, $per_page = NULL) X-Ref |
No description |
groups_pools_getPhotos($group_id, $tags = NULL, $user_id = NULL, $extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
groups_pools_remove($photo_id, $group_id) X-Ref |
No description |
interestingness_getList($date = NULL, $extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
people_findByEmail($find_email) X-Ref |
No description |
people_findByUsername($username) X-Ref |
No description |
people_getInfo($user_id) X-Ref |
No description |
people_getPublicGroups($user_id) X-Ref |
No description |
people_getPublicPhotos($user_id, $extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
people_getUploadStatus() X-Ref |
No description |
photos_addTags($photo_id, $tags) X-Ref |
No description |
photos_delete($photo_id) X-Ref |
No description |
photos_getAllContexts($photo_id) X-Ref |
No description |
photos_getContactsPhotos($count = NULL, $just_friends = NULL, $single_photo = NULL, $include_self = NULL, $extras = NULL) X-Ref |
No description |
photos_getContactsPublicPhotos($user_id, $count = NULL, $just_friends = NULL, $single_photo = NULL, $include_self = NULL, $extras = NULL) X-Ref |
No description |
photos_getContext($photo_id) X-Ref |
No description |
photos_getCounts($dates = NULL, $taken_dates = NULL) X-Ref |
No description |
photos_getExif($photo_id, $secret = NULL) X-Ref |
No description |
photos_getFavorites($photo_id, $page = NULL, $per_page = NULL) X-Ref |
No description |
photos_getInfo($photo_id, $secret = NULL) X-Ref |
No description |
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) X-Ref |
No description |
photos_getPerms($photo_id) X-Ref |
No description |
photos_getRecent($extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
photos_getSizes($photo_id) X-Ref |
No description |
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) X-Ref |
No description |
photos_getWithGeoData($args = NULL) X-Ref |
No description |
photos_getWithoutGeoData($args = NULL) X-Ref |
No description |
photos_recentlyUpdated($min_date = NULL, $extras = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
photos_removeTag($tag_id) X-Ref |
No description |
photos_search($args) X-Ref |
No description |
photos_setContentType($photo_id, $content_type) X-Ref |
No description |
photos_setDates($photo_id, $date_posted = NULL, $date_taken = NULL, $date_taken_granularity = NULL) X-Ref |
No description |
photos_setMeta($photo_id, $title, $description) X-Ref |
No description |
photos_setPerms($photo_id, $is_public, $is_friend, $is_family, $perm_comment, $perm_addmeta) X-Ref |
No description |
photos_setSafetyLevel($photo_id, $safety_level, $hidden = null) X-Ref |
No description |
photos_setTags($photo_id, $tags) X-Ref |
No description |
photos_comments_addComment($photo_id, $comment_text) X-Ref |
No description |
photos_comments_deleteComment($comment_id) X-Ref |
No description |
photos_comments_editComment($comment_id, $comment_text) X-Ref |
No description |
photos_comments_getList($photo_id) X-Ref |
No description |
photos_geo_getLocation($photo_id) X-Ref |
No description |
photos_geo_getPerms($photo_id) X-Ref |
No description |
photos_geo_removeLocation($photo_id) X-Ref |
No description |
photos_geo_setLocation($photo_id, $lat, $lon, $accuracy = NULL) X-Ref |
No description |
photos_geo_setPerms($photo_id, $is_public, $is_contact, $is_friend, $is_family) X-Ref |
No description |
photos_licenses_getInfo() X-Ref |
No description |
photos_licenses_setLicense($photo_id, $license_id) X-Ref |
No description |
photos_notes_add($photo_id, $note_x, $note_y, $note_w, $note_h, $note_text) X-Ref |
No description |
photos_notes_delete($note_id) X-Ref |
No description |
photos_notes_edit($note_id, $note_x, $note_y, $note_w, $note_h, $note_text) X-Ref |
No description |
photos_transform_rotate($photo_id, $degrees) X-Ref |
No description |
photos_upload_checkTickets($tickets) X-Ref |
No description |
photosets_addPhoto($photoset_id, $photo_id) X-Ref |
No description |
photosets_create($title, $description, $primary_photo_id) X-Ref |
No description |
photosets_delete($photoset_id) X-Ref |
No description |
photosets_editMeta($photoset_id, $title, $description = NULL) X-Ref |
No description |
photosets_editPhotos($photoset_id, $primary_photo_id, $photo_ids) X-Ref |
No description |
photosets_getContext($photo_id, $photoset_id) X-Ref |
No description |
photosets_getInfo($photoset_id) X-Ref |
No description |
photosets_getList($user_id = NULL) X-Ref |
No description |
photosets_getPhotos($photoset_id, $extras = NULL, $privacy_filter = NULL, $per_page = NULL, $page = NULL) X-Ref |
No description |
photosets_orderSets($photoset_ids) X-Ref |
No description |
photosets_removePhoto($photoset_id, $photo_id) X-Ref |
No description |
photosets_comments_addComment($photoset_id, $comment_text) X-Ref |
No description |
photosets_comments_deleteComment($comment_id) X-Ref |
No description |
photosets_comments_editComment($comment_id, $comment_text) X-Ref |
No description |
photosets_comments_getList($photoset_id) X-Ref |
No description |
places_resolvePlaceId($place_id) X-Ref |
No description |
places_resolvePlaceURL($url) X-Ref |
No description |
prefs_getContentType() X-Ref |
No description |
prefs_getHidden() X-Ref |
No description |
prefs_getPrivacy() X-Ref |
No description |
prefs_getSafetyLevel() X-Ref |
No description |
reflection_getMethodInfo($method_name) X-Ref |
No description |
reflection_getMethods() X-Ref |
No description |
tags_getHotList($period = NULL, $count = NULL) X-Ref |
No description |
tags_getListPhoto($photo_id) X-Ref |
No description |
tags_getListUser($user_id = NULL) X-Ref |
No description |
tags_getListUserPopular($user_id = NULL, $count = NULL) X-Ref |
No description |
tags_getListUserRaw($tag) X-Ref |
No description |
tags_getRelated($tag) X-Ref |
No description |
test_echo($args = array() X-Ref |
No description |
test_login() X-Ref |
No description |
urls_getGroup($group_id) X-Ref |
No description |
urls_getUserPhotos($user_id = NULL) X-Ref |
No description |
urls_getUserProfile($user_id = NULL) X-Ref |
No description |
urls_lookupGroup($url) X-Ref |
No description |
urls_lookupUser($url) X-Ref |
No description |
upload(stored_file $photo, array $meta = array() X-Ref |
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 http://www.flickr.com/services/api/upload.api.html} param: stored_file $photo stored in Moodle file pool param: array $meta optional meta information return: boolean |