xowf::test_item::AssessmentInterface method add_to_fc (protected)

 <instance of xowf::test_item::AssessmentInterface[i]> add_to_fc \
    -fc fc  [ -position position ] [ -minutes minutes ] \
    [ -points points ]

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

Switches:
-fc
(required)
-position
(optional)
-minutes
(optional)
-points
(optional)

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

Testcases:
No testcase defined.
Source code:
return [lmap c $fc {
  if {[regexp {^[^:]+_:} $c]} {
    if {[info exists position] && ![string match *,position=* $c]} {
      append c ,test_item_in_position=$position
    }
    if {[info exists minutes] && ![string match *,minutes=* $c]} {
      append c ,test_item_minutes=$minutes
    }
    if {[info exists points] && ![string match *,test_item_points=* $c]} {
      append c ,test_item_points=$points
    }
    #ns_log notice "APPEND $c"
  }
  set c
}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: