Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
cc_assesment_question_proc_base Class Reference
Inheritance diagram for cc_assesment_question_proc_base:
cc_assesment_question_essay cc_assesment_question_multichoice cc_assesment_question_multichoice_multiresponse cc_assesment_question_sfib cc_assesment_question_truefalse

Public Member Functions

 __construct (XMLGenericDocument &$quiz, XMLGenericDocument &$questions, cc_manifest &$manifest, cc_assesment_section &$section, &$question_node, $rootpath, $contextid, $outdir)
 
 generate ()
 
 on_generate_answers ()
 
 on_generate_feedbacks ()
 
 on_generate_metadata ()
 
 on_generate_presentation ()
 
 on_generate_response_processing ()
 

Protected Attributes

 $answerlist = null
 
string $contextid = null
 
 $correct_answer_ident = null
 
 $correct_answer_node_id = null
 
 $correct_feedbacks = array()
 
 $correct_grade_value = null
 
 $general_feedback = null
 
 $incorrect_feedbacks = array()
 
cc_manifest $manifest = null
 
string $outdir = null
 
cc_assesment_section_item $qitem = null
 
cc_question_metadata $qmetadata = null
 
cc_assesment_presentation $qpresentation = null
 
cc_response_lidtype $qresponse_lid = null
 
 $qresprocessing = null
 
string $qtype = null
 
DOMElement $question_node = null
 
XMLGenericDocument $questions = null
 
XMLGenericDocument $quiz = null
 
string $rootpath = null
 
cc_assesment_section $section = null
 
 $total_grade_value = null
 

Constructor & Destructor Documentation

◆ __construct()

cc_assesment_question_proc_base::__construct ( XMLGenericDocument & $quiz,
XMLGenericDocument & $questions,
cc_manifest & $manifest,
cc_assesment_section & $section,
& $question_node,
$rootpath,
$contextid,
$outdir )
Parameters
XMLGenericDocument$questions
cc_manifest$manifest
cc_assesment_section$section
DOMElement$question_node
string$rootpath
string$contextid
string$outdir

The documentation for this class was generated from the following file: