application_group::closest_ancestor_application_group_site_node (public)
application_group::closest_ancestor_application_group_site_node \
[ -url url ] [ -node_id node_id ] [ -include_self ]Defined in packages/acs-subsite/tcl/application-group-procs.tcl
Starting with the node with the given node_id (or URL), climb up the site map and return the node of the first non null application group
- Switches:
- -url (optional)
- The URL of the node to start from. You must provide either URL or node_id. An empty URL is taken to mean the main site.
- -node_id (optional)
- The id of the node to start from. Takes precedence over any provided URL.
- -include_self (optional, boolean)
- If true, include the current package in the search
- Returns:
- The node of the first non-null application group in array get format.
- Author:
- Peter Marklund, Dave Bauer
- Testcases:
- subsite_api