xowiki::FormPage instproc property (public)

 <instance of xowiki::FormPage[i]> property name [ default ]

Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-procs.tcl

Retrieve a FormPage property.

Parameters:
name (required)
property name. Names starting with _ refer to object's members, rather than instance attributes.
default (optional)
fallback value when property is not set.

Testcases:
xowiki_test_cases
Source code:
if {[regexp {^_([^_].*)$} $name _ varname]} {
  if {[info exists :$varname]} {
    return [set :$varname]
  }
} elseif {[dict exists ${:instance_attributes} $name]} {
  return [dict get ${:instance_attributes} $name]
}
return $default
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: