Moodle  2.2.1
http://www.collinsharper.com
backup_question_dbops Class Reference
Inheritance diagram for backup_question_dbops:
Collaboration diagram for backup_question_dbops:

Static Public Member Functions

static calculate_question_categories ($backupid, $contextid)
static delete_temp_questions ($backupid)

Detailed Description

Non instantiable helper class providing DB support to the questions backup stuff

This class contains various static methods available for all the DB operations performed by questions stuff

TODO: Finish phpdocs

Definition at line 33 of file backup_question_dbops.class.php.


Member Function Documentation

static calculate_question_categories ( backupid,
contextid 
) [static]

Calculates all the question_categories to be included in backup, based in a given context (course/module) and the already annotated questions present in backup_ids_temp

Definition at line 40 of file backup_question_dbops.class.php.

Here is the caller graph for this function:

static delete_temp_questions ( backupid) [static]

Delete all the annotated questions present in backup_ids_temp

Definition at line 76 of file backup_question_dbops.class.php.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations