xo::ProtocolHandler instproc unknown (private)

 <instance of xo::ProtocolHandler[i]> unknown method args \
    [ args... ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/50-protocol-handler-procs.tcl

Return connection information similar to ad_conn

Parameters:
method (required)
args (required)

Testcases:
No testcase defined.
Source code:
:log "--[self class] unknown called with '$method' <$args>"
switch -- [llength $args] {
  0 {
    if {[info exists :$method]} {
      return ${:method}
    }
    return [ad_conn $method]
  }
  1 {set :method $args}
  default {:log "--[self class] ignoring <$method> <$args>"}
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: