From: stronk7 Date: Thu, 1 May 2003 17:43:03 +0000 (+0000) Subject: Included Schema of evey mod (comments) and complete X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c5be7d8e8e979cd46c0fc6d9d30eec2d734d791a;p=moodle.git Included Schema of evey mod (comments) and complete assignments --- diff --git a/backup/mod/assignment/backuplib.php b/backup/mod/assignment/backuplib.php index 7ff77d5422..ae33deb9c1 100644 --- a/backup/mod/assignment/backuplib.php +++ b/backup/mod/assignment/backuplib.php @@ -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"; + } ?> diff --git a/backup/mod/choice/backuplib.php b/backup/mod/choice/backuplib.php index 7afe8da491..1c9e9bdc46 100644 --- a/backup/mod/choice/backuplib.php +++ b/backup/mod/choice/backuplib.php @@ -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"; } diff --git a/backup/mod/forum/backuplib.php b/backup/mod/forum/backuplib.php index bc4c2b8ab4..d21caf5939 100644 --- a/backup/mod/forum/backuplib.php +++ b/backup/mod/forum/backuplib.php @@ -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"; }