- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::includelet::get
::xowiki::includelet::getGet an instance variable from the current or from a different page.create ... \
[ -__decoration (default "none") ] \
[ -parameter_declaration (default " {-variable} {-form_variable} {-source ""} ") ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl
Class Relations
::xowiki::IncludeletClass create ::xowiki::includelet::get \ -superclass ::xowiki::IncludeletMethods (to be applied on instances)
__decoration (setter)
parameter_declaration (setter)
render (scripted)
:get_parameters if {![info exists variable] && ![info exists form_variable]} { return "either -variable or -form_variable must be specified" } set page [:resolve_page_name $source] if {[info exists variable] && [$page exists $variable]} { return [$page set $variable] } if {[info exists form_variable] && [$page exists instance_attributes]} { set __ia [$page set instance_attributes] if {[dict exists $__ia $form_variable]} { return [dict get $__ia $form_variable] } } if {[info exists variable]} { return "no such variable $variable defined in page [$page set name]" } return "no such form_variable $form_variable defined in page [$page set name]"
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables