publish::proc_exists (public)
publish::proc_exists namespace_name proc_name
Defined in packages/acs-content-repository/tcl/publish-procs.tcl
- Parameters:
- namespace_name (required)
- The fully qualified namespace name, such as "template::util"
- proc_name (required)
- The proc name, such as "is_nil"
- Returns:
- 1 if the proc exists in the given namespace, 0 otherwise
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [expr {[namespace which ${namespace_name}::$proc_name] ne ""}]Generic XQL file: packages/acs-content-repository/tcl/publish-procs.xql
PostgreSQL XQL file: packages/acs-content-repository/tcl/publish-procs-postgresql.xql
Oracle XQL file: packages/acs-content-repository/tcl/publish-procs-oracle.xql