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
(boolean) (optional)
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 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 apm_package_delete apm_package_delete (public) apm_package_delete->site_node::get_url application_group::closest_ancestor_application_group_site_node application_group::closest_ancestor_application_group_site_node (public) application_group::closest_ancestor_application_group_site_node->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: