$db | question_engine_data_mapper | protected |
__construct(moodle_database $db=null) | question_engine_data_mapper | |
combine_step_data(array $stepdata) | question_engine_data_mapper | |
delete_previews($questionid) | question_engine_data_mapper | |
delete_questions_usage_by_activities(qubaid_condition $qubaids) | question_engine_data_mapper | |
delete_response_files($contextid, $itemidstest, $params) | question_engine_data_mapper | protected |
delete_steps($stepids, $context) | question_engine_data_mapper | |
delete_usage_records_for_mysql(qubaid_condition $qubaids) | question_engine_data_mapper | protected |
full_states_to_summary_state_sql() | question_engine_data_mapper | protected |
in_summary_state_test($summarystate, $equal=true, $prefix='summarystates') | question_engine_data_mapper | |
insert_all_step_data(array $rows) | question_engine_data_mapper | |
insert_question_attempt(question_attempt $qa, $context) | question_engine_data_mapper | |
insert_question_attempt_metadata(question_attempt $qa, array $names) | question_engine_data_mapper | |
insert_question_attempt_step(question_attempt_step $step, $questionattemptid, $seq, $context) | question_engine_data_mapper | |
insert_questions_usage_by_activity(question_usage_by_activity $quba) | question_engine_data_mapper | |
latest_step_for_qa_subquery($questionattemptid='qa.id') (defined in question_engine_data_mapper) | question_engine_data_mapper | protected |
load_attempts_at_question($questionid, qubaid_condition $qubaids) | question_engine_data_mapper | |
load_average_marks(qubaid_condition $qubaids, $slots=null) | question_engine_data_mapper | |
load_question_attempt($questionattemptid) | question_engine_data_mapper | |
load_question_attempt_step($stepid) | question_engine_data_mapper | |
load_questions_usage_by_activity($qubaid) | question_engine_data_mapper | |
load_questions_usages_by_activity($qubaids) | question_engine_data_mapper | |
load_questions_usages_latest_steps(qubaid_condition $qubaids, $slots=null, $fields=null) | question_engine_data_mapper | |
load_questions_usages_question_state_summary(qubaid_condition $qubaids, $slots=null) | question_engine_data_mapper | |
load_questions_usages_where_question_in_state(qubaid_condition $qubaids, $summarystate, $slot, $questionid=null, $orderby='random', $params=array(), $limitfrom=0, $limitnum=null, $extraselect='') | question_engine_data_mapper | |
load_used_variants(array $questionids, qubaid_condition $qubaids) | question_engine_data_mapper | |
make_step_record(question_attempt_step $step, $questionattemptid, $seq) | question_engine_data_mapper | protected |
prepare_step_data(question_attempt_step $step, $stepid, $context) | question_engine_data_mapper | protected |
question_attempt_latest_state_view($alias, qubaid_condition $qubaids) | question_engine_data_mapper | |
questions_in_use(array $questionids, qubaid_condition $qubaids) | question_engine_data_mapper | |
set_max_mark_in_attempts(qubaid_condition $qubaids, $slot, $newmaxmark) | question_engine_data_mapper | |
sum_usage_marks_subquery($qubaid) | question_engine_data_mapper | |
update_question_attempt(question_attempt $qa) | question_engine_data_mapper | |
update_question_attempt_flag($qubaid, $questionid, $qaid, $slot, $newstate) | question_engine_data_mapper | |
update_question_attempt_metadata(question_attempt $qa, array $names) | question_engine_data_mapper | |
update_question_attempt_step(question_attempt_step $step, $questionattemptid, $seq, $context) | question_engine_data_mapper | |
update_questions_usage_by_activity(question_usage_by_activity $quba) | question_engine_data_mapper | |