Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 39 and 401]

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