xowf::test_item::Question_manager method question_names (public)

 <instance of xowf::test_item::Question_manager[i]> question_names \
    obj

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

Return the names of the questions of an assessment.

Parameters:
obj

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

Testcases:
create_test_items
Source code:
if {[info exists :wfi]} {
  if {![nsf::is object ${:wfi}]} {
    ns_log notice "we cannot trust :wfi '${:wfi}', probably a leftover"
    unset :wfi
  }
}
if {[info exists :wfi] && [${:wfi} property question] ne ""} {
  set names [${:wfi} property question]
  #ns_log notice "question_names returns obj-specific [join $names]"
} else {
  set names [$obj property question]
  #ns_log notice "question_names returns wf-names ($obj property): [join $names]"
}
return $names
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: