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 (required, object)

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