- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::includelet::chat
::xowiki::includelet::chat create ... \Include a chat in the current page
[ -parameter_declaration (default " {-title ""} {-chat_id ""} {-mode ""} {-path ""} -skin -login_messages_p -logout_messages_p -avatar_p -timewindow ") ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl
Class Relations
::xowiki::IncludeletClass create ::xowiki::includelet::chat \ -superclass ::xowiki::IncludeletMethods (to be applied on instances)
parameter_declaration (setter)
render (scripted)
:get_parameters if {$chat_id eq ""} { # make the chat just for including page set chat_id [${:__including_page} item_id] } set chat_cmd [list ::xowiki::Chat login -chat_id $chat_id -mode $mode -path $path] # We don't want to override Chat class default with our own and # therefore we build the command dynamically depending if these # variables are there or not. set optional_vars [list login_messages_p logout_messages_p timewindow skin avatar_p] foreach var $optional_vars { if {[info exists $var]} { lappend chat_cmd -${var} [set $var] } } set r [{*}$chat_cmd] #ns_log notice chat=>$r return $r
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables