attribute::exists_p (public)

 attribute::exists_p [ -convert_p convert_p ] object_type \
    orig_attribute

Defined in packages/acs-subsite/tcl/attribute-procs.tcl

Returns 1 if the object type already has an attribute of the given name.

Switches:
-convert_p (optional, defaults to "t")
If t, we convert the attribute using plsql_utility::generate_oracle_name
Parameters:
object_type (required)
orig_attribute (required)
The attribute in which we are interested. Note that if convert_p is set to t, we will internally look for the converted attribute name
Returns:
1 if the object type already has an attribute of the specified name. 0 otherwise
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000

Testcases:
acs_subsite_attributes
[ show source ]
Show another procedure: