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]

Print private files tree

Copyright: 2010 Dongsheng Cai <dongsheng@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 101 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

block_private_files_renderer:: (3 methods):
  private_files_tree()
  render_private_files_tree()
  htmllize_tree()

private_files_tree:: (1 method):
  __construct()


Class: block_private_files_renderer  - X-Ref

private_files_tree()   X-Ref
Prints private files tree view

return: string

render_private_files_tree(private_files_tree $tree)   X-Ref
No description

htmllize_tree($tree, $dir, $isroot)   X-Ref
Internal function - creates htmls structure suitable for core/tree AMD.

param: private_files_tree $tree The renderable tree.
param: array $dir The directory in the tree
param: bool $isroot If it is the root directory in the tree.
return: string

Class: private_files_tree  - X-Ref

__construct()   X-Ref
No description