Included Schema of evey mod (comments) and complete
assignments
This commit is contained in:
@@ -2,7 +2,30 @@
|
||||
//This php script contains all the stuff to backup/restore
|
||||
//assignment mods
|
||||
|
||||
//This is the "graphical" structure of the assignment mod:
|
||||
//
|
||||
// assignment
|
||||
// (CL,pk->id)
|
||||
// |
|
||||
// |
|
||||
// |
|
||||
// assignment_submisions
|
||||
// (UL,pk->id, fk->assignment,files)
|
||||
//
|
||||
// Meaning: pk->primary key field of the table
|
||||
// fk->foreign key to link with parent
|
||||
// nt->nested field (recursive data)
|
||||
// CL->course level info
|
||||
// UL->user level info
|
||||
// files->table may have files)
|
||||
//
|
||||
//-----------------------------------------------------------
|
||||
|
||||
function assignment_backup_mods() {
|
||||
print "hola";
|
||||
}
|
||||
|
||||
function assignment_check_backup_mods() {
|
||||
print "hola";
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -2,6 +2,25 @@
|
||||
//This php script contains all the stuff to backup/restore
|
||||
//choice mods
|
||||
|
||||
//This is the "graphical" structure of the choice mod:
|
||||
//
|
||||
// choice
|
||||
// (CL,pk->id)
|
||||
// |
|
||||
// |
|
||||
// |
|
||||
// choice_answers
|
||||
// (UL,pk->id, fk->choice)
|
||||
//
|
||||
// Meaning: pk->primary key field of the table
|
||||
// fk->foreign key to link with parent
|
||||
// nt->nested field (recursive data)
|
||||
// CL->course level info
|
||||
// UL->user level info
|
||||
// files->table may have files)
|
||||
//
|
||||
//-----------------------------------------------------------
|
||||
|
||||
function choice_backup_mods() {
|
||||
print "hola";
|
||||
}
|
||||
|
||||
@@ -2,6 +2,35 @@
|
||||
//This php script contains all the stuff to backup/restore
|
||||
//forum mods
|
||||
|
||||
//This is the "graphical" structure of the forum mod:
|
||||
//
|
||||
// forum
|
||||
// (CL,pk->id)
|
||||
// |
|
||||
// -----------------------------------
|
||||
// | |
|
||||
// subscriptions forum_discussions
|
||||
// (UL,pk->id, fk->forum) (UL,pk->id, fk->forum)
|
||||
// |
|
||||
// |
|
||||
// |
|
||||
// forum_posts
|
||||
// (UL,pk->id,fk->discussion,nt->parent,files)
|
||||
// |
|
||||
// |
|
||||
// |
|
||||
// forum_ratings
|
||||
// (UL,pk->id,fk->post)
|
||||
//
|
||||
// Meaning: pk->primary key field of the table
|
||||
// fk->foreign key to link with parent
|
||||
// nt->nested field (recursive data)
|
||||
// CL->course level info
|
||||
// UL->user level info
|
||||
// files->table may have files)
|
||||
//
|
||||
//-----------------------------------------------------------
|
||||
|
||||
function forum_backup_mods() {
|
||||
print "hola";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user