Index: openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl,v diff -u -r1.17 -r1.17.2.1 --- openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 15 Sep 2002 22:10:50 -0000 1.17 +++ openacs-4/packages/acs-tcl/tcl/site-nodes-procs.tcl 10 Dec 2002 14:33:21 -0000 1.17.2.1 @@ -112,6 +112,11 @@ returns an array representing the site node that matches the given url either url or node_id is required, if both are passed url is ignored + + packages/acs-tcl/tcl/site-nodes-procs.tcl + + The array elements are: package_id, package_key, object_type, directory_p, + instance_namem, pattern_p, parent_id, node_id, object_id, url. } { if {[empty_string_p $url] && [empty_string_p $node_id]} { error "site_node::get \"must pass in either url or node_id\"" @@ -131,6 +136,8 @@ {-node_id:required} } { returns an array representing the site node for the given node_id + + @see site_node::get } { return [get_from_url -url [get_url -node_id $node_id]] } @@ -139,6 +146,8 @@ {-url:required} } { returns an array representing the site node that matches the given url + + @see site_node::get } { # attempt an exact match if {[nsv_exists site_nodes $url]} {