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

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