Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

RQP question type: Difference between revisions

From MoodleDocs
m (cat edit)
 
Line 40: Line 40:
==State->options==
==State->options==


[[Category:RQP question type]]
[[Category:Quiz]]
[[Category:Quiz]]

Latest revision as of 07:37, 10 June 2011

Database tables

quiz_rqp

id
int(10) unsigned NOT NULL auto_increment,
question
int(10) unsigned NOT NULL default '0',
type
int(10) unsigned NOT NULL default '0',
source
longblob NOT NULL default ,
format
varchar(255) NOT NULL default ,
flags
tinyint(3) unsigned NOT NULL default '0',
maxscore
int(10) unsigned NOT NULL default '1',

quiz_rqp_servers

id
int(10) unsigned NOT NULL auto_increment,
typeid
int(10) unsigned NOT NULL default '0',
url
varchar(255) NOT NULL default ,
can_render
tinyint(2) unsigned NOT NULL default '0',
can_author
tinyint(2) unsigned NOT NULL default '0',

quiz_rqp_states

id
int(10) unsigned NOT NULL auto_increment,
stateid
int(10) unsigned NOT NULL default '0',
responses
text NOT NULL default ,
persistent_data
text NOT NULL default ,
template_vars
text NOT NULL default ,

quiz_rqp_types

id int(10)
unsigned NOT NULL auto_increment,
name
varchar(255) NOT NULL default ,

Response storage

Question->options

State->options