xowf::test_item::Answer_manager method marked_results (public)

 <instance of xowf::test_item::Answer_manager[i]> marked_results \
    [ -obj obj ] [ -wf wf ] form_info

Defined in packages/xowf/tcl/test-item-procs.tcl

Return for every participant the individual results for an exam

Switches:
-obj
(optional)
-wf
(optional)
Parameters:
form_info

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_test_items create_test_items (test xowf) xowf::test_item::Answer_manager instproc marked_results xowf::test_item::Answer_manager instproc marked_results test_create_test_items->xowf::test_item::Answer_manager instproc marked_results

Testcases:
create_test_items
Source code:
set form_field_objs [:answer_form_field_objs -wf $wf $form_info]

set items [:get_wf_instances $wf]
set results ""
foreach i [$items children] {
  xo::cc eval_as_user -user_id [$i creation_user] {
    set participantResult [:participant_result -obj $obj $i $form_info $form_field_objs]
  }
  append results $participantResult \n
}

#ns_log notice "=== marked_results of [llength [$items children]] items => $results"
return $results
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: