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.

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: