Пример #1
0
 public function on_generate_response_processing()
 {
     $qresprocessing = new cc_assesment_resprocessingtype();
     $this->qitem->add_resprocessing($qresprocessing);
     $qdecvar = new cc_assesment_decvartype();
     $qresprocessing->set_decvar($qdecvar);
     //according to the Common Cartridge 1.1 Profile: Implementation document
     //this should always be set to 0, 100 in case of question type that is not essay
     $qdecvar->set_limits(0, 100);
     $qdecvar->set_vartype(cc_qti_values::Decimal);
     $this->qresprocessing = $qresprocessing;
 }