Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

list of course modules id

$
0
0
by Ava Taylor.  

Hi

I've built a local type plugin "/local/userfavorites/". durring a backup and restore process I want to backup and restore a few things in the database table. in the restore stage of the process I need to get the list of id's of the new activities that were restored in the restore process. that is the new (restored) course modules ids.

I need that list to be availbale for me the "process_plugin_local_userfavorites($data)" function in my restore file in: local/userfavorites/backup/moodle2/restore_local_userfavorites_plugin.class.php

How can that be done?

or rather, I have a single course module id of the original course - and I want to retrieve the new course module id of the destination/new/restored course. How can that be done?


Viewing all articles
Browse latest Browse all 6815

Trending Articles



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