publish::proc_exists (public)

 publish::proc_exists namespace_name proc_name

Defined in packages/acs-content-repository/tcl/publish-procs.tcl

Parameters:
namespace_name - The fully qualified namespace name, such as "template::util"
proc_name - 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):
%3 publish::get_mime_handler publish::get_mime_handler (public) publish::proc_exists publish::proc_exists publish::get_mime_handler->publish::proc_exists

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

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