Class ::xowiki::formfield::enumeration

::xowiki::formfield::enumeration[i] create ... \
           [ -category_tree category_tree ] \
           [ -descriptions (default "") ]

Defined in

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::ShuffleField[i]
  • subclass: ::xowiki::formfield::radio[i], ::xowiki::formfield::checkbox[i], ::xowiki::formfield::select[i]

Methods (to be applied on instances)

  • scores (scripted, public)

     <instance of xowiki::formfield::enumeration[i]> 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