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

 <instance of xowf::test_item::Question_manager[i]> question_property \
    form_obj attribute [ default ]

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

Get an attribute of the original question

Parameters:
form_obj
attribute
default (optional)

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_property xowf::test_item::Question_manager instproc question_property test_create_test_items->xowf::test_item::Question_manager instproc question_property

Testcases:
create_test_items
Source code:
set question [$form_obj get_property -name question]
#:msg question=$question
if {[dict exists $question question.$attribute]} {
  set value [dict get $question question.$attribute]
} else {
  set value $default
}
return $value
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: