application_group::package_id_from_group_id (public)

 application_group::package_id_from_group_id -group_id group_id

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

Returns the package_id of a given application group.

Switches:
-group_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_subsite_api subsite_api (test acs-subsite) application_group::package_id_from_group_id application_group::package_id_from_group_id test_subsite_api->application_group::package_id_from_group_id db_string db_string (public) application_group::package_id_from_group_id->db_string packages/acs-subsite/www/members/member-state-change.tcl packages/acs-subsite/ www/members/member-state-change.tcl packages/acs-subsite/www/members/member-state-change.tcl->application_group::package_id_from_group_id

Testcases:
subsite_api
Source code:
    return [db_string -cache_key application_group_pid_from_gid_${group_id} get {
        select package_id
        from application_groups
        where group_id = :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: