site_node::get_url (public)

 site_node::get_url -node_id node_id [ -notrailing ]

Defined in packages/acs-tcl/tcl/site-nodes-procs.tcl

return the url of this node_id

Switches:
-node_id (required)
-notrailing (optional, boolean)
If true then strip any trailing slash ('/'). This means the empty string is returned for the root.

Partial Call Graph (max 5 caller/called nodes):
%3 test_site_node_update_cache site_node_update_cache (test acs-tcl) site_node::get_url site_node::get_url test_site_node_update_cache->site_node::get_url Class ::acs::SiteNodeUrlspaceCache Class ::acs::SiteNodeUrlspaceCache (public) Class ::acs::SiteNodeUrlspaceCache->site_node::get_url acs::SiteNodeUrlspaceCache instproc get_node_id acs::SiteNodeUrlspaceCache instproc get_node_id (public) acs::SiteNodeUrlspaceCache instproc get_node_id->site_node::get_url acs::root_of_host_noncached acs::root_of_host_noncached (private) acs::root_of_host_noncached->site_node::get_url ad_conn ad_conn (public) ad_conn->site_node::get_url ad_context_bar_multirow ad_context_bar_multirow (public) ad_context_bar_multirow->site_node::get_url

Testcases:
site_node_update_cache
Source code:
    set url [::acs::site_node get_url -node_id $node_id]
    if { $notrailing_p } {
        set url [string trimright $url "/"]
    }
    return $url
Generic XQL file:
packages/acs-tcl/tcl/site-nodes-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/site-nodes-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/site-nodes-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: