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

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