subsite::util::sub_type_exists_p (public)
subsite::util::sub_type_exists_p object_type
Defined in packages/acs-subsite/tcl/subsite-procs.tcl
- Parameters:
- object_type
- Returns:
- 1 if object_type has sub types, or 0 otherwise
- Author:
- Oumi Mehrotra <oumi@arsdigita.com>
- Created:
- 2000-02-07
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string sub_type_exists_p { select case when exists (select 1 from acs_object_types where supertype = :object_type) then 1 else 0 end from dual }]XQL Not present: Generic PostgreSQL XQL file: packages/acs-subsite/tcl/subsite-procs-postgresql.xql
Oracle XQL file: packages/acs-subsite/tcl/subsite-procs-oracle.xql