xo::api proc object_link (public)

 xo::api[i] object_link [ -noimg on|off ] scope obj

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

Return a link for the object.

Switches:
-noimg (optional, boolean, defaults to "off")
Parameters:
scope (required)
obj (required)

Testcases:
No testcase defined.
Source code:
#
# Return a link for the object.
#
set link "<a href='[ns_quotehtml [:object_url $scope $obj]]'>"
if {$noimg} {
  return "$link$obj</a>"
} else {
  return "$obj$link<img src='/resources/acs-subsite/ZoomIn16.gif' alt='\[i\]' border='0'></a>"
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: