tdav::conn

 tdav::conn

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 oacs_dav::impl::content_folder::lock oacs_dav::impl::content_folder::lock (private) tdav::conn tdav::conn oacs_dav::impl::content_folder::lock->tdav::conn oacs_dav::impl::content_revision::lock oacs_dav::impl::content_revision::lock (private) oacs_dav::impl::content_revision::lock->tdav::conn

Testcases:
No testcase defined.
Source code:
    global tdav_conn
    set flag [lindex $args 0]
    if { [string index $flag 0] ne "-" } {
        set var $flag
        set flag "-get"
    } else {
        set var [lindex $args 1]
    }
    switch -- $flag {
        -set {
            set value [lindex $args 2]
            set tdav_conn($var$value
            return $value
        }
        -get {
            if { [info exists tdav_conn($var)] } {
                return $tdav_conn($var)
            } else {
                return [ns_conn $var]
            }
        }
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: