acs::SiteNodesCache method get_url (public)
<instance of acs::SiteNodesCache> get_url -node_id node_id
Defined in packages/acs-tcl/tcl/site-nodes-procs.tcl
It's a pain, but OpenACS and its regression test call "get_url" a few times with an empty node_id. Shortcut these calls here to avoid problems with the non-numeric partition_key.
- Switches:
- -node_id (required)
- Testcases:
- No testcase defined.
Source code: if {$node_id eq ""} { set result "" } else { set result [::acs::site_nodes_cache eval -partition_key $node_id url-$node_id { next }] } return $resultGeneric 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