xowf::test_item::Question_manager method qualified_question_names (protected)

 <instance of xowf::test_item::Question_manager[i]> qualified_question_names \
    question_objs

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

Return the question names with parent folder in form of an item-ref. We assume here, all question_objs are from the same xowf instance. We will need item-refs pointing to other instances in the future.

Parameters:
question_objs

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
lmap question_obj $question_objs {
  set parent_id [$question_obj parent_id]
  if {![nsf::is object ::$parent_id]} {
    ::xowiki::FormPage get_instance_from_db -item_id $parent_id
  }
  set ref [::$parent_id name]/[$question_obj name]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: