acs::SiteNode method get (public)

 <instance of acs::SiteNode[i]> get [ -url url ] \
    [ -node_id node_id ]

Defined in

Switches:
-url (optional)
-node_id (optional)
Returns:
a site node from url or site-node with all its context info

Testcases:
No testcase defined.
Source code:
if {$url eq "" && $node_id eq ""} {
    error "site_node::get \"must pass in either url or node_id\""
}

#
# Make sure, we have a node_id.
#
if {$node_id eq ""} {
    set node_id [:get_node_id -url $url]
}

return [:properties -node_id $node_id]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: