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, object)
-wf (optional, object)
Parameters:
form_info (required)

Testcases:
No testcase defined.
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: