Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 39 and 400]

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.

return: string
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.

Class: private_files_tree  - X-Ref

__construct()   X-Ref
No description