General developer forum

moodle mdl_files

 
Picture of ivan Rivas
moodle mdl_files
 

Good afternoon everyone, I have a question and I would like to know if you can help me.

I need to get the attachments in a forum, resource, or any activity added in a week of a course using a mysql query, or if moodle had any function within their libraries to do it I would like to know what it is.

I would greatly appreciate your help.


I attach a reference image, in the image you can see that in week 2 there is an activity and in that activity there is a word file, in the table mdl_files I locate it but I do not know in what way I can get it based on the course code.


 
Average of ratings: -
Picture of Dorel Manolescu
Re: moodle mdl_files
 
Average of ratings: -