- 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 "") ]
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)
add_statistics (scripted)
answer_is_correct (scripted)
category_tree (setter)
config_from_category_tree (scripted)
descriptions (setter)
get_labels (scripted)
ggw (scripted)
initialize (scripted)
make_correct (scripted)
pretty_value (scripted)
render_input (scripted)
render_label_classes (scripted)
render_label_text (scripted)
render_result_statistics (scripted)
scores (scripted, public)
<instance of xowiki::formfield::enumeration> scores [ -r r ] \ [ -f f ] [ -rk rk ] [ -fk fk ] [ -R R ] [ -W W ]
- Switches:
- -r
(defaults to"0"
) (optional)- number of answers which are true
- -f
(defaults to"0"
) (optional)- number of answers which are false
- -rk
(defaults to"0"
) (optional)- number checkmarks to a true answer
- -fk
(defaults to"0"
) (optional)- number checkmarks to a false answer
- -R
(optional)- number correct answered
- -W
(optional)- number incorrect answered
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_test_items
stats_record_detail (scripted)
value_if_nothing_is_returned_from_form (scripted)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables