Hello again!
I have an assignment plugin "Online Judge". I want to be able to add multiple instances of this assignment to the course. I have a text file with all the data needed to create an $assignment object.
Will it be OK if created an array of such objects and then just use
require_once('assignment.class.php');
foreach ($assignments_array as $assignment) {
add_instance($assignment);
}
Or is it a bad practice?