mdl_files itemid relation to an activity

Re: mdl_files itemid relation to an activity

by Tim Hunt -
Number of replies: 0
Core developers სურათი Documentation writers სურათი Particularly helpful Moodlers სურათი Peer reviewers სურათი Plugin developers სურათი

The itemid does not necessarily relate to an activity or resource. What it means depends on where the file was uploaded.

Look instead at the contextid and component columns. They may tell you want you want to know. However, you really need to read the File API docs: https://docs.moodle.org/dev/File_API

რეიტინგების საშუალო: -