Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Classes
backup_lesson_stepslib.php File Reference

This file contains the backup structure for the lesson module. More...

Classes

class  backup_lesson_activity_structure_step
 Structure step class that informs a backup task how to backup the lesson module. More...
 

Detailed Description

This file contains the backup structure for the lesson module.

This is the "graphical" structure of the lesson module:

    lesson ---------->-------------|------------>---------|----------->----------|
 (CL,pk->id)                       |                      |                      |
       |                           |                      |                      |
       |                     lesson_grades           lesson_timer           lesson_overrides
       |            (UL, pk->id,fk->lessonid)  (UL, pk->id,fk->lessonid) (UL, pk->id,fk->lessonid)
       |                           |
       |                           |
       |                           |
       |                           |
 lesson_pages-------->-------lesson_branch

(CL,pk->id,fk->lessonid) (UL, pk->id,fk->pageid)

lesson_answers (CL,pk->id,fk->pageid)

lesson_attempts (UL,pk->id,fk->answerid)

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)

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later