Help on how to use filemanager

Re: Help on how to use filemanager

by Davo Smith -
Number of replies: 2
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This is a reasonable example that demonstrates how to use filemanager:

https://github.com/AndyNormore/filemanager

(I'd probably use file_prepare_standard_filemanager() and file_postupdate_standard_filemananger(), as that does some of the work for you, but that is just a wrapper for the file_prepare_draft_area(), etc. functions, so does the same thing in the end)

In reply to Davo Smith

Re: Help on how to use filemanager

by Andreas Ragen Ayal -

Is this code still relevant?
It seems to be 3-8 years old.

In reply to Andreas Ragen Ayal

Re: Help on how to use filemanager

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'm not aware of any relevant changes to the Moodle files API in that time - is there something you think is out of date?