xowf::test_item::Answer_manager method get_exam_results (public)
<instance of xowf::test_item::Answer_manager> get_exam_results \ [ -obj obj ] property [ default ]
Defined in packages/xowf/tcl/test-item-procs.tcl
Retrieve a property value from the exam statistics result page. This page is an instance of the exam statistics workflow stored as a child of the exam object.
- Switches:
- -obj
(optional)- the exam object
- Parameters:
- property - the property name
default (optional) - default value when property is not found
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_test_items
Source code: set p [$obj childpage -name en:result -form inclass-exam-statistics.wf] set instance_attributes [$p instance_attributes] if {[dict exists $instance_attributes $property]} { #ns_log notice "get_exam_results <$property> returns value from " "results page: [dict get $instance_attributes $property]" return [dict get $instance_attributes $property] } #ns_log notice "get_exam_results <$property> returns default" return $defaultXQL Not present: Generic, PostgreSQL, Oracle