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):
%3 subsite::auto_mount_application subsite::auto_mount_application (public) subsite::instance_name_exists_p subsite::instance_name_exists_p subsite::auto_mount_application->subsite::instance_name_exists_p db_string db_string (public) subsite::instance_name_exists_p->db_string

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

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