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):
%3 test_subsite_api subsite_api (test acs-subsite) application_group::closest_ancestor_application_group_id application_group::closest_ancestor_application_group_id test_subsite_api->application_group::closest_ancestor_application_group_id application_group::closest_ancestor_element application_group::closest_ancestor_element (public) application_group::closest_ancestor_application_group_id->application_group::closest_ancestor_element

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

[ hide source ] | [ make this the default ]
Show another procedure: