|
| display_folder (stdClass $folder) |
| Returns html to display the content of mod_folder (Description, folder files and optionally Edit button)
|
|
◆ display_folder()
mod_folder_renderer::display_folder |
( |
stdClass | $folder | ) |
|
Returns html to display the content of mod_folder (Description, folder files and optionally Edit button)
- Parameters
-
stdClass | $folder | record from 'folder' table (please note it may not contain fields 'revision' and 'timemodified') |
- Return values
-
◆ htmllize_tree()
mod_folder_renderer::htmllize_tree |
( |
| ) |
|
|
protected |
◆ renderable_tree_elements()
mod_folder_renderer::renderable_tree_elements |
( |
folder_tree | $tree, |
|
|
array | $dir ) |
|
protected |
Internal function - Creates elements structure suitable for mod_folder/folder template.
- Parameters
-
folder_tree | $tree | The folder tree to work with. |
array | $dir | The subdir and files structure to convert into a tree. |
- Return values
-
array | The structure to be rendered by mod_folder/folder template. |
The documentation for this class was generated from the following file: