- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::enumeration
::xowiki::formfield::enumeration create ... \
[ -category_tree category_tree ] \
[ -descriptions (default "") ]
Defined in
Class Relations
- class: ::xotcl::Class
- superclass: ::xowiki::formfield::ShuffleField
- subclass: ::xowiki::formfield::checkbox, ::xowiki::formfield::select, ::xowiki::formfield::radio
Methods (to be applied on instances)
scores (scripted, public)
<instance of xowiki::formfield::enumeration> scores [ -r r ] \ [ -f f ] [ -rk rk ] [ -fk fk ] [ -R R ] [ -W W ]
- Switches:
- -r (optional, defaults to
"0"
)- number of answers which are true
- -f (optional, defaults to
"0"
)- number of answers which are false
- -rk (optional, defaults to
"0"
)- number checkmarks to a true answer
- -fk (optional, defaults to
"0"
)- number checkmarks to a false answer
- -R (optional)
- number correct answered
- -W (optional)
- number incorrect answered
- Testcases:
- create_test_items
Variables
::xowiki::formfield::enumeration set __default_metaclass ::xotcl::Class ::xowiki::formfield::enumeration set __default_superclass ::xotcl::Object ::xowiki::formfield::enumeration set abstract 1
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables