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
Source code: array set site_node [application_group::closest_ancestor_application_group_site_node -include_self=$include_self_p -url $url -node_id $node_id] return $site_node($element)XQL Not present: Generic PostgreSQL XQL file: packages/acs-subsite/tcl/application-group-procs-postgresql.xql
Oracle XQL file: packages/acs-subsite/tcl/application-group-procs-oracle.xql