Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Static Public Member Functions | Static Public Attributes | List of all members
cc_assesment_helper Class Reference

Static Public Member Functions

static add_answer ($qresponse_choice, $content, $content_type)
 
static add_assesment_description ($rt, $content, $contenttype)
 
static add_feedback ($qitem, $content, $content_type, $ident)
 
static add_respcondition ($node, $title, $feedback_refid, $grade_value=null, $continue=false)
 
static add_response_condition ($node, $title, $ident, $feedback_refid, $respident)
 
static has_matching_element (XMLGenericDocument $questions, $question_node)
 Checks if question has matching element. More...
 
static process_questions (&$qdoc, &$manifest, cc_assesment_section &$section, $rootpath, $contextid, $outdir)
 Enter description here ... More...
 

Static Public Attributes

static $correct_fb = null
 
static $incorrect_fb = null
 

Member Function Documentation

◆ has_matching_element()

static cc_assesment_helper::has_matching_element ( XMLGenericDocument  $questions,
  $question_node 
)
static

Checks if question has matching element.

Parameters
XMLGenericDocument$questions
object$question_node
Return values
bool

◆ process_questions()

static cc_assesment_helper::process_questions ( $qdoc,
$manifest,
cc_assesment_section $section,
  $rootpath,
  $contextid,
  $outdir 
)
static

Enter description here ...

Parameters
XMLGenericDocument$qdoc
unknown_type$manifest
cc_assesment_section$section
unknown_type$rootpath
unknown_type$contextid
unknown_type$outdir

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