Ok, i figured this out, each activity module has its own table, named with same name as folder where it is located. I could probably loop through folder mod and check every folder and with that make query. Trouble is next, how does moodle assign activity ID. I took a look on database, and ID is 1, but on link on course its totaly diferent number. Any help or guide?
Assignment
Help getting all activities DB query
This discussion has been locked so you can no longer reply to it.