subsite::instance_name_exists_p (private)
subsite::instance_name_exists_p node_id instance_name
Defined in packages/acs-subsite/tcl/subsite-procs.tcl
Returns 1 if the instance_name exists at this node. 0 otherwise. Note that the search is case-sensitive.
- Parameters:
- node_id (required)
- instance_name (required)
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 2001-03-01
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string select_name_exists_p { select count(*) from site_nodes where parent_id = :node_id and name = :instance_name }]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