Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cc_assesment_material Class Reference
Inheritance diagram for cc_assesment_material:
cc_assesment_material_base cc_question_metadata_base

Public Member Functions

 __construct ($value=null)
 
 generate (XMLGenericDocument &$doc, DOMNode &$item, $namespace)
 
 generate_attributes (XMLGenericDocument &$doc, DOMNode &$item, $namespace)
 
 set_altmaterial (cc_assesment_altmaterial $object)
 
 set_label ($value)
 
 set_lang ($value)
 
 set_matbreak (cc_assesment_matbreak $object)
 
 set_matref (cc_assesment_matref $object)
 
 set_mattext (cc_assesment_mattext $object)
 

Protected Member Functions

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

Protected Attributes

 $altmaterial = null
 
mixed $mattag = null
 
array $metadata = array()
 
 $tagname = null
 

Member Function Documentation

◆ enable_setting_yesno()

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

◆ generate()

cc_assesment_material::generate ( XMLGenericDocument &  $doc,
DOMNode &  $item,
  $namespace 
)
Parameters
XMLGenericDocument$doc
DOMNode$item
string$namespace

Reimplemented from cc_assesment_material_base.

◆ generate_attributes()

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

◆ get_setting()

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

◆ set_setting()

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

◆ set_setting_wns()

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

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