application_group::group_id_from_package_id (public)

 application_group::group_id_from_package_id [ -no_complain ] \
    [ -package_id package_id ]

Defined in packages/acs-subsite/tcl/application-group-procs.tcl

Get the application_group of a package. By default, if no application group exists, we throw an error. The -no_complain flag will prevent the error from being thrown, in which case you'll just get an empty string if the application group doesn't exist.

Switches:
-no_complain (optional, boolean)
-package_id (optional)

Testcases:
acs_subsite_expose_bug_1144, subsite_api, test_inheritance_and_custom_permissions
[ show source ]
Show another procedure: