Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 39 and 401]

(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