Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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.
 
static process_questions (&$qdoc, &$manifest, cc_assesment_section &$section, $rootpath, $contextid, $outdir)
 Enter description here ...
 

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: