Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 39 and 311]

(no description)

File Size: 313 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: portfolio_plugin_flickr  - X-Ref


supported_formats()   X-Ref
No description

get_name()   X-Ref
No description

prepare_package()   X-Ref
No description

send_package()   X-Ref
No description

allows_multiple_instances()   X-Ref
No description

get_interactive_continue_url()   X-Ref
No description

expected_time($callertime)   X-Ref
No description

get_allowed_config()   X-Ref
No description

has_admin_config()   X-Ref
No description

admin_config_form(&$mform)   X-Ref
No description

has_export_config()   X-Ref
No description

get_allowed_user_config()   X-Ref
No description

steal_control($stage)   X-Ref
No description

post_control($stage, $params)   X-Ref
No description

export_config_form(&$mform)   X-Ref
No description

get_sets()   X-Ref
Fetches a list of current user's photosets (albums) on flickr.

return: array (int)id => (string)title

get_allowed_export_config()   X-Ref
No description

get_export_summary()   X-Ref
No description

get_export_value_name($param, $value)   X-Ref
No description

allows_multiple_exports()   X-Ref
For now, flickr doesn't support this because we can't dynamically construct callbackurl


is_valid_image(stored_file $file)   X-Ref
Verifies the file is a valid optimised image - gif, png and jpeg only.
Currently, Flickr only supports these file types.

param: stored_file $file
return: bool true if the file is ok