Quantcast
Channel: Moodle for mobile
Viewing all articles
Browse latest Browse all 8344

Private files plugin

$
0
0
par Fuchur Kool.  

Hi,

I am trying to implement a plugin which shows users' private files within the app. For this, I want to make use of the MM.moodleDownloadFile function. So far, I have identified that the page with all the files can be reached the following way:

MM.config.current_site.siteurl + "/user/files.php"

But is there any way to get a list of the included element? And how is the link created for every object?

I also had a look at the "core_files_get_files " webservice, but it also needs a filepath.


Viewing all articles
Browse latest Browse all 8344

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>