xo::api proc object_url (public)

 xo::api[i] object_url [ -show_source show_source ] \
    [ -show_methods show_methods ] scope obj

Defined in packages/xotcl-core/tcl/01-debug-procs.tcl

Return a link for the object in the object browser (show-object)

Switches:
-show_source (optional, defaults to "0")
-show_methods (optional, defaults to "1")
Parameters:
scope (required)
obj (required)

Testcases:
No testcase defined.
Source code:
#
# Return a link for the object in the object browser (show-object)
#
set isObject [:scope_eval $scope ::nsf::is object $obj]
if {$isObject} {
  set object [:scope_eval $scope namespace origin $obj]
  return [export_vars -base /xotcl/show-object {object show_source show_methods}]
} else {
  return .
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: