Class ::xowiki::includelet::exam-top-includelet

::xowiki::includelet::exam-top-includelet[i] create ... \
           [ -__decoration (default "plain") ] \
           [ -parameter_declaration (default " {-countdown_audio_alarm "true"} {-target_time ""} {-url_poll ""} {-url_dismiss ""} {-poll_interval 5000} ") ]

This is the top includelet for the in-class exam, containing a countdown timer and the personal notifications includelet
Defined in /var/www/openacs.org/packages/xowf/tcl/xowf-includelet-procs.tcl

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::Includelet[i]
::xotcl::Class create ::xowiki::includelet::exam-top-includelet \
     -superclass ::xowiki::Includelet

Methods (to be applied on instances)

  • __decoration (setter)

  • parameter_declaration (setter)

  • render (scripted)

    :get_parameters
    
    if {$url_poll ne ""} {
      set pn [${:__including_page} include  [list personal-notification-messages  -url_poll $url_poll  -url_dismiss $url_dismiss  -poll_interval $poll_interval  ]]
    } else {
      set pn ""
    }
    return [subst {
      [${:__including_page} include  [list countdown-timer -audio_alarm $countdown_audio_alarm -target_time $target_time]]
      $pn
    }]