[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/repository/flickr/ -> lib.php (summary)

This plugin is used to access flickr pictures

Copyright: 2010 Dongsheng Cai {@link http://dongsheng.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 349 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

repository_flickr:: (19 methods):
  __construct()
  check_login()
  logout()
  set_option()
  get_option()
  global_search()
  print_login()
  build_list()
  search()
  get_listing()
  build_photo_url()
  get_best_size()
  get_link()
  get_file()
  type_config_form()
  get_type_option_names()
  supported_filetypes()
  supported_returntypes()
  get_file_source_info()


Class: repository_flickr  - X-Ref

This plugin is used to access user's private flickr repository

__construct($repositoryid, $context = SYSCONTEXTID, $options = array()   X-Ref

param: int $repositoryid
param: object $context
param: array $options

check_login()   X-Ref

return: bool

logout()   X-Ref

return: mixed

set_option($options = array()   X-Ref

param: array $options
return: mixed

get_option($config = '')   X-Ref

param: string $config
return: mixed

global_search()   X-Ref

return: bool

print_login()   X-Ref

return: null

build_list($photos)   X-Ref
Converts result received from phpFlickr::photo_search to Filepicker/repository format

param: mixed $photos
return: array

search($search_text, $page = 0)   X-Ref

param: string $search_text
param: int $page
return: array

get_listing($path = '', $page = '')   X-Ref

param: string $path
param: int $page
return: array

build_photo_url($photoid)   X-Ref
Return photo url by given photo id

param: string $photoid
return: string

get_best_size($photoid)   X-Ref
Returns the best size for a photo

param: string $photoid the photo identifier
return: array of information provided by the API

get_link($photoid)   X-Ref
No description

get_file($photoid, $file = '')   X-Ref

param: string $photoid
param: string $file
return: string

type_config_form($mform, $classname = 'repository')   X-Ref
Add Plugin settings input to Moodle form

param: object $mform

get_type_option_names()   X-Ref
Names of the plugin settings

return: array

supported_filetypes()   X-Ref
No description

supported_returntypes()   X-Ref
No description

get_file_source_info($photoid)   X-Ref
Return the source information

param: string $photoid
return: string|null



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1