application_group::closest_ancestor_element (public)
application_group::closest_ancestor_element [ -node_id node_id ] \ [ -url url ] -element element [ -include_self ]
Defined in packages/acs-subsite/tcl/application-group-procs.tcl
Return one element of the site node for the closest ancestor package that has an application group.
- Switches:
- -node_id (optional)
- node_id of the node to start searching from (only one of node_id and URL can be specified).
- -url (optional)
- URL of the node to start searching from.
- -element (required)
- -include_self (optional, boolean)
- If true, include the current package in the search
- Returns:
- element The desired element of the appropriate site node.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- subsite_api