Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 39 and 402]

(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