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

Testcases:
subsite_api
[ show source ]
Show another procedure: