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

 <instance of xowf::test_item::Question_manager[i]> points_string \
    form_obj

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

Get an attribute of the original question

Parameters:
form_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 points_string xowf::test_item::Question_manager instproc points_string test_create_test_items->xowf::test_item::Question_manager instproc points_string _ _ (public) xowf::test_item::Question_manager instproc points_string->_

Testcases:
create_test_items
Source code:
set points [:question_property $form_obj points]
if {$points eq ""} {
  # just for legacy, questions without points
  set points [:question_property $form_obj minutes]
}
if {$points ne ""} {
  set pretty_label [expr {$points eq "1" ? [_ xowf.Point] : [_ xowf.Points]}]
  set minutes "($points $pretty_label)"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: