Class ::xowf::test_item::AssessmentInterface

::xowf::test_item::AssessmentInterface[i] create ...

Abstract class for common functionality
Defined in packages/xowf/tcl/test-item-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::xowf::test_item::Renaming_form_loader[i], ::xowf::test_item::Answer_manager[i], ::xowf::test_item::Question_manager[i]

Methods (to be applied on instances)

  • render_feedback_files (scripted, public)

     <instance of xowf::test_item::AssessmentInterface[i]> render_feedback_files \
        -question_name question_name  [ -feedbackFiles feedbackFiles ]

    Render feedback files which are children of the submit instances. Note that one submit instances contains the feedback files for all questions. For associating the files with the right quesitions, the content repository name has to start with "file:${questions_name}/*

    Switches:
    -question_name (required)
    name (prefix) for selecting files to be shown
    -feedbackFiles (optional)
    is of pairs containing "item_id" and "name"
    Returns:
    HTML rendering

    Testcases:
    No testcase defined.