xowf::test_item::Question_manager method question_summary (public)
<instance of xowf::test_item::Question_manager> question_summary \ obj
Defined in packages/xowf/tcl/test-item-procs.tcl
Provide a summary of all questions of an exam.
- Parameters:
- obj (required)
- Testcases:
- No testcase defined.
Source code: set results [:AM get_exam_results -obj $obj results] if {$results ne ""} { #https://localhost:8443/xowf/online-exam/inclass-exam1?per-question=1&m=print-statistics&format=csv&onlygrades=0 set href [$obj pretty_link -query m=exam-results&format=csv&per-question=1] set results_summary [subst { <p>#xowf.export_results#: <a title="#xowf.export_results_title#" href="[ns_quotehtml $href]"> <adp:icon name="filetype-csv" title="CSV"></a> }] } else { set results_summary "" } set return_url [::xo::cc query_parameter local_return_url:localurl [$obj pretty_link]] return [ns_trim -delimiter | [subst { | [:question_info_block $obj] | $results_summary | <hr><p><a class="[::template::CSS class action]" href="[ns_quotehtml $return_url]">#xowiki.back#</a></p> }]]XQL Not present: Generic, PostgreSQL, Oracle