Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 403]

This plugin is used to access user's private files

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

Defines 1 class

repository_user:: (5 methods):
  print_login()
  get_listing()
  has_moodle_files()
  supported_returntypes()
  contains_private_data()


Class: repository_user  - X-Ref

repository_user class is used to browse user private files

print_login()   X-Ref
user plugin doesn't require login

return: mixed

get_listing($encodedpath = '', $page = '')   X-Ref
Get file listing

param: string $encodedpath
return: mixed

has_moodle_files()   X-Ref
Does this repository used to browse moodle files?

return: boolean

supported_returntypes()   X-Ref
User cannot use the external link to dropbox

return: int

contains_private_data()   X-Ref
Is this repository accessing private data?

return: bool