Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
cc_assesment_presentation Class Reference
Inheritance diagram for cc_assesment_presentation:
cc_question_metadata_base

Public Member Functions

 generate (XMLGenericDocument &$doc, DOMNode &$item, $namespace)
 
 generate_attributes (XMLGenericDocument &$doc, DOMNode &$item, $namespace)
 
 set_coor ($x=null, $y=null)
 
 set_flow (cc_assesment_flowtype $object)
 
 set_label ($value)
 
 set_lang ($value)
 
 set_material (cc_assesment_material $object)
 
 set_response_lid (cc_response_lidtype $object)
 
 set_response_str (cc_assesment_response_strtype $object)
 
 set_size ($width=null, $height=null)
 

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

cc_assesment_flowtype $flow = null
 
cc_assesment_material $material = null
 
array $metadata = array()
 
cc_response_lidtype $response_lid = null
 
cc_assesment_response_strtype $response_str = 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_presentation::generate ( XMLGenericDocument & $doc,
DOMNode & $item,
$namespace )
Parameters
XMLGenericDocument$doc
DOMNode$item
string$namespace

Reimplemented from cc_question_metadata_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: