application_group::closest_ancestor_application_group_id (public)
application_group::closest_ancestor_application_group_id [ -url url ] \ [ -node_id node_id ] [ -include_self ]
Defined in packages/acs-subsite/tcl/application-group-procs.tcl
Application group id of the closest ancestor package that has an application group
- Switches:
- -url (optional)
- URL of the node to start searching from.
- -node_id (optional)
- node_id of the node to start searching from (only one of node_id and URL can be specified).
- -include_self (optional, boolean)
- If true, include the current package in the search
- Returns:
- group_id of the closest ancestor package that has an application group, if any.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- subsite_api
Source code: return [application_group::closest_ancestor_element -include_self=$include_self_p -url $url -node_id $node_id -element application_group_id]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