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 402 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