Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
cc_question_metadata_base Class Reference
Inheritance diagram for cc_question_metadata_base:
cc_assesment_decvartype cc_assesment_flow_labeltype cc_assesment_flow_mat_base cc_assesment_flow_mattype cc_assesment_flowtype cc_assesment_itemfeedback_shintmaterial_base cc_assesment_itemfeedback_shintype_base cc_assesment_itemfeedbacktype cc_assesment_itemmetadata cc_assesment_material_base cc_assesment_mattext cc_assesment_metadata cc_assesment_presentation cc_assesment_presentation_material_base cc_assesment_render_choicetype cc_assesment_render_fibtype cc_assesment_respconditiontype cc_assesment_response_labeltype cc_assesment_resprocessingtype cc_assesment_rubric_base cc_assesment_section cc_assignment_conditionvar cc_assignment_conditionvar_andtype cc_assignment_conditionvar_othertype cc_assignment_conditionvar_varequaltype cc_assignment_displayfeedbacktype cc_assignment_setvartype cc_question_metadata cc_response_lidtype

Public Member Functions

 generate (XMLGenericDocument &$doc, DOMNode &$item, $namespace)
 
 generate_attributes (XMLGenericDocument &$doc, DOMNode &$item, $namespace)
 

Protected Member Functions

 enable_setting_yesno ($setting, $value=true)
 
 get_setting ($setting)
 
 set_setting ($setting, $value=null)
 
 set_setting_wns ($setting, $namespace, $value=null)
 

Protected Attributes

array $metadata = array()
 

Member Function Documentation

◆ enable_setting_yesno()

cc_question_metadata_base::enable_setting_yesno ( $setting,
$value = true )
protected
Parameters
string$setting
boolean$value

◆ generate()

◆ generate_attributes()

cc_question_metadata_base::generate_attributes ( XMLGenericDocument & $doc,
DOMNode & $item,
$namespace )
Parameters
XMLGenericDocument$doc
DOMNode$item
string$namespace

◆ get_setting()

cc_question_metadata_base::get_setting ( $setting)
protected
Parameters
string$setting
Return values
mixed

◆ set_setting()

cc_question_metadata_base::set_setting ( $setting,
$value = null )
protected
Parameters
string$setting
mixed$value

◆ set_setting_wns()

cc_question_metadata_base::set_setting_wns ( $setting,
$namespace,
$value = null )
protected
Parameters
string$setting
string$namespace
string$value

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