apm_package_registered_p (public)

 apm_package_registered_p package_key

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Returns 1 if there is a registered package with the indicated package_key. Returns 0 otherwise.

Parameters:
package_key (required)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_core_docs_uninstalled_packages_internal ad_core_docs_uninstalled_packages_internal (private) apm_package_registered_p apm_package_registered_p ad_core_docs_uninstalled_packages_internal->apm_package_registered_p apm_package_deinstall apm_package_deinstall (public) apm_package_deinstall->apm_package_registered_p apm_package_install apm_package_install (public) apm_package_install->apm_package_registered_p apm_package_selection_widget apm_package_selection_widget (private) apm_package_selection_widget->apm_package_registered_p packages/acs-admin/www/apm/package-add-2.tcl packages/acs-admin/ www/apm/package-add-2.tcl packages/acs-admin/www/apm/package-add-2.tcl->apm_package_registered_p db_0or1row db_0or1row (public) apm_package_registered_p->db_0or1row

Testcases:
No testcase defined.
Source code:
    ### Query the database for the indicated package_key
    return [db_0or1row apm_package_registered_p {
        select 1 from apm_package_types
        where package_key = :package_key
    }]
Generic XQL file:
<fullquery name="apm_package_registered_p.apm_package_registered_p">
    <querytext>
      select 1 from apm_package_types
      where package_key = :package_key
    </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-procs-oracle.xql

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